Summary: | Zebra facets must be managed from the intranet | ||
---|---|---|---|
Product: | Koha | Reporter: | Juan Romay Sieira <juan.sieira> |
Component: | Searching | Assignee: | Juan Romay Sieira <juan.sieira> |
Status: | Failed QA --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | alexander.borkowski, dcook, jonathan.druart, josef.moravec, marjorie.barry-vila, mathsabypro, patrick.robitaille |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14899 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Patch to apply in master branch
SQL with a new facet table, to save the configuration Facet SQL samples |
Description
Juan Romay Sieira
2016-01-11 11:26:51 UTC
Created attachment 46575 [details] [review] Patch to apply in master branch Created attachment 46576 [details]
SQL with a new facet table, to save the configuration
Test plan: Apply the patch in master branch. Import the facet.sql file into your koha database. Next go to Administration -> Facet indexes manager You can create facets and test it appears into the search (intranet and opac) There is a SQL with inserts of facet configuration samples. Created attachment 46578 [details]
Facet SQL samples
As this has a new patch, I am marking the older bug 10891 as a duplicate. *** Bug 10891 has been marked as a duplicate of this bug. *** It looks like this might have got lost - it was never set to "Needs Sign-off". This is the old way to dev in Koha :) You will need to correctly indent the template, use Koha::Objects for CRUD operations. Moreover the new table is not added to kohastructure.sql and updatedatabase.pl, and you will need to populate it. Note that there is a patch in the queue for ES: bug 14899 I'm not familiar with the Elasticsearch configurable facet code, but I wonder how easy it would be to adapt this Zebra code to work with it too. (Although these days I think it would make more sense just to work towards fully deprecating Zebra to be honest.) (In reply to David Cook from comment #10) > I'm not familiar with the Elasticsearch configurable facet code, but I > wonder how easy it would be to adapt this Zebra code to work with it too. > > (Although these days I think it would make more sense just to work towards > fully deprecating Zebra to be honest.) I think there is still a lot of libraries that profit from the low requirements of Zebra out there. I am not in favour of depracating it at this point in time. But we have certain features that are only developed for Elasticsearch. |