Summary: | Handle "specials" authorised value category for ES facets | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Searching - Elasticsearch | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 - low | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Bug Depends on: | 36396, 36399 | ||
Bug Blocks: |
Description
Jonathan Druart
2024-03-22 10:02:30 UTC
It's actually branches (homebranch, holdingbranch), itemtype and cn_source. And there is a "special special" that is "language/ln". However some existing hardcoded facets should use the link: Location, Collections. Location is built in _convert_facets (Koha::SearchEngine::Elasticsearch::Search) and Collections in the include file: AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => facet.facet_label_value ) Absolutely not consistent! |