Summary: | Specify FacetLabelTruncationLength is only for Zebra | ||
---|---|---|---|
Product: | Koha | Reporter: | Caroline Cyr La Rose <caroline.cyr-la-rose> |
Component: | System Administration | Assignee: | Bugs List <koha-bugs> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | gmcharlt, lucas, martin.renvoize |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31226 | ||
Change sponsored?: | --- | Patch complexity: | String patch |
Documentation contact: | Caroline Cyr La Rose | Documentation submission: | https://gitlab.com/koha-community/koha-manual/-/merge_requests/576 |
Text to go in the release notes: |
This enhancement adds a note to the FacetLabelTruncationLength system preference description that it only works with Zebra. When using ElasticSearch, facets are displayed in full.
|
Version(s) released in: |
22.11.00
|
Circulation function: | |||
Attachments: |
Screenshot of facets with Zebra
Screenshot of facets with Elasticsearch Bug 31191: Specify FacetLabelTruncationLength is only for Zebra Bug 31191: Specify FacetLabelTruncationLength is only for Zebra |
Description
Caroline Cyr La Rose
2022-07-19 19:13:46 UTC
Created attachment 137885 [details]
Screenshot of facets with Zebra
This is a screenshot of facets with Zebra. Note that the longer ones are truncated with an ellipsis, e.g. "Association for Scot..."
Created attachment 137886 [details]
Screenshot of facets with Elasticsearch
This is a screenshot of facets with Elasticsearch. Note that the longer ones are there in full, e.g. "Association for Scottish Literary Studies"
In my test, I did not change the FacetLabelTruncationLength system preference when I changed search engines. I also did not specify staff interface or OPAC, but it does the same thing in both interfaces. Created attachment 137887 [details] [review] Bug 31191: Specify FacetLabelTruncationLength is only for Zebra This patch adds a note in the description of FacetLabelTruncationLength that it only works with Zebra. To test: 0) Apply patch 1) Go to Administration > Global system preference > Searching preferences 2) Search for FacetLabelTruncationLength 3) Read the description, make sure it indicates that is requires Zebra I changed the .pref file, I'm not sure if that's where it's changed or if it's the only place... Let me know. Created attachment 138066 [details] [review] Bug 31191: Specify FacetLabelTruncationLength is only for Zebra This patch adds a note in the description of FacetLabelTruncationLength that it only works with Zebra. To test: 0) Apply patch 1) Go to Administration > Global system preference > Searching preferences 2) Search for FacetLabelTruncationLength 3) Read the description, make sure it indicates that is requires Zebra Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> String patch - passing QA too. Pushed to master for 22.11. Nice work everyone, thanks! Enhancement will not be backported to 22.05.x series. I merged the docs update.. thanks Caroline |