| Summary: | Make it possible to add indexes to getIndexes() in Search.pm without having to change source code | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Barton Chittenden <bartonski> |
| Component: | Searching | Assignee: | Galen Charlton <gmcharlt> |
| Status: | NEW --- | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | martin.renvoize |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12216 | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
|
Description
Barton Chittenden
2014-03-07 23:09:54 UTC
I've just opened a bug which is a partial duplicate of this one: Bug 12216 It only accounts for the zebra config files being over-ridden on a per instance basis, so I'll leave this bug open as a place holder for work on re-factoring Search.pm slightly to allow for customisation of the indexes array. I am picking this one out here:
> In order to be searchable, the index name must be added to @indexes in
> C4::Search.pm::getIndexes().
>
> At the very least, there should be a way of adding extra indexes to the
> arrayref returned by getIndexes() without editing source code.
I think that would be really useful.
|