Open plutonik-a opened 7 years ago
Please see comments 2-7 from https://github.com/HistoryAtState/hsg-shell/issues/284#issuecomment-343969089.
@plutonik-a Just to be clear, the Administrations filter will just show a flat list of administrations, not a nested list of volumes in each administration as in the sample code that you just pasted in here. The volumes now have their own separate filter.
@joewiz Ok, thanks for pointing this out. I will delete the comment.
@plutonik-a please check again the parameters, I will take over afterwards and implement the filter on the backend
Information about volume being part of administration grouping is stored in collection(" /db/apps/frus/bibliography")//volume[@id={VOLUME}]/administration
Status: The UI is completely implemented, search parameters are correctly passed on.
Template: pages/search/_filter-administrations.html
(already implemented but commented-out in pages/search/search-result.html
)
Display "Filter by administrations" in the result page. First 3 options are shown, the rest ist hidden and will be expanded by clicking the "show more" link.
Update: from https://github.com/HistoryAtState/hsg-shell/issues/284#issuecomment-343969089
Parent: #284 Dependent on: #287