Skip to content

Commit

Permalink
feat: add item-location link
Browse files Browse the repository at this point in the history
Signed-off-by: Aly Badr <[email protected]>
Signed-off-by: Igor Milhit <[email protected]>
  • Loading branch information
Aly Badr authored and jma committed Mar 29, 2018
1 parent 0faa68b commit fd37b74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reroils_app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def _(x):
),
location=dict(
terms=dict(
field='itemslist.location',
field='itemslist.location_name',
size=0
)
),
Expand All @@ -322,7 +322,7 @@ def _(x):
# can be also post_filter
filters={
_('status'): terms_filter('itemslist._circulation.status'),
_('location'): terms_filter('itemslist.location'),
_('location'): terms_filter('itemslist.location_name'),
_('language'): terms_filter('languages.language'),
_('author'): terms_filter('facet_authors')
},
Expand Down

0 comments on commit fd37b74

Please sign in to comment.