Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
HamoudaAmine committed Sep 5, 2019
2 parents 44e5f24 + cacc280 commit 2410575
Show file tree
Hide file tree
Showing 6 changed files with 11,958 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def comparator(id_site):
return abort(404)

site = site[0]
get_photos_by_site = models.TPhoto.query.filter_by(id_site = id_site).order_by('filter_date')
get_photos_by_site = models.TPhoto.query.filter_by(id_site = id_site, display_gal_photo=True).order_by('filter_date')
photos = photo_schema.dump(get_photos_by_site).data
get_villes = models.Communes.query.filter_by(code_commune = site.get('code_city_site'))

Expand Down
Loading

0 comments on commit 2410575

Please sign in to comment.