Summary: | One should be able to override zebra configuration on a per instance basis | ||
---|---|---|---|
Product: | Koha | Reporter: | Martin Renvoize (ashimema) <martin.renvoize> |
Component: | Packaging | Assignee: | Martin Renvoize (ashimema) <martin.renvoize> |
Status: | CLOSED FIXED | QA Contact: | Robin Sheat <robin> |
Severity: | enhancement | ||
Priority: | P4 | CC: | dcook, robin, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11910 | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 12216: One should be able to override zebra config
[SIGNED OFF] Bug 12216: One should be able to override zebra config Bug 12216: One should be able to override zebra config |
Description
Martin Renvoize (ashimema)
2014-05-08 15:18:53 UTC
Created attachment 28112 [details] [review] Bug 12216: One should be able to override zebra config One should be able to override zebra configuration on a per instance basis. This patch adds /etc/koha/sites/instance to the 'profilePath' in the zebra config files such that that location is sources first for any override config files. To test.. 1. Build package with this patch added 2. Install package 3. use koha-create to run up a new instance 4. copy any default zebra config file (default.idx maybe) you wish to customise into /etc/koha/newInstance 5. modify the file 6. check that your modification has in fact been used Created attachment 41297 [details] [review] [SIGNED OFF] Bug 12216: One should be able to override zebra config One should be able to override zebra configuration on a per instance basis. This patch adds /etc/koha/sites/instance to the 'profilePath' in the zebra config files such that that location is sources first for any override config files. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Great catch Martin. I thought this was already pushed by the way. Created attachment 41304 [details] [review] Bug 12216: One should be able to override zebra config One should be able to override zebra configuration on a per instance basis. This patch adds /etc/koha/sites/instance to the 'profilePath' in the zebra config files such that that location is sources first for any override config files. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Great catch Martin. I thought this was already pushed by the way. Signed-off-by: Robin Sheat <robin@catalyst.net.nz> This will be useful. Patch pushed to master. Thanks Martin! Neato! |