Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
issue #42: fixed wrong fieldname being queried for item_recipeintorde…
Browse files Browse the repository at this point in the history
…dicatees typo
  • Loading branch information
Tyler Danstrom committed May 25, 2017
1 parent dc46ef9 commit 41f3290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operacat/search/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def advanced_search(request):
if recipient_dedicatee_query:
recipient = RecipientOrDedicatee.objects.filter(recipient_name=recipient_dedicatee_query)[0]
recipients = RecipientOrDedicateeOrderable.objects.filter(a_recipient=recipient)[0]
search_results = search_results.filter(item_recipients=recipients)
search_results = search_results.filter(item_recipientordedicatees=recipients)
if place_query:
places = Place.objects.filter(place_name=place_query)[0]
places = PlaceOrderable.objects.filter(a_place=places)
Expand Down

0 comments on commit 41f3290

Please sign in to comment.