Skip to content

Commit

Permalink
Add "property" field to search_fields
Browse files Browse the repository at this point in the history
  • Loading branch information
SirSanctified committed Mar 15, 2024
1 parent 3a8b9e5 commit 1422306
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ class RoomViewSet(ModelViewSet):
"property__property_type",
"property__amenities__name",
"room_type",
"property",
"is_available",
]
search_fields = [
Expand Down

0 comments on commit 1422306

Please sign in to comment.