Skip to content

Commit

Permalink
Allow to search ads by number
Browse files Browse the repository at this point in the history
  • Loading branch information
brmzkw committed Feb 9, 2024
1 parent 1f21634 commit e37f589
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mesads/app/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ def get_queryset(self):
| Q(owner_name__icontains=q)
| Q(clean_immatriculation_plate__icontains=q)
| Q(epci_commune__libelle__icontains=q)
| Q(number__icontains=q)
)

# Add ordering on the number. CAST is necessary in the case the ADS number is not an integer.
Expand Down

0 comments on commit e37f589

Please sign in to comment.