Bugzilla – Attachment 39897 Details for
Bug 14031
Make itemnumber a numeric search in ccl.properties
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14031 - Itemnumber should be a numeric search in ccl.properties
Bug-14031---Itemnumber-should-be-a-numeric-search-.patch (text/plain), 1.61 KB, created by
Magnus Enger
on 2015-06-05 09:03:53 UTC
(
hide
)
Description:
Bug 14031 - Itemnumber should be a numeric search in ccl.properties
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2015-06-05 09:03:53 UTC
Size:
1.61 KB
patch
obsolete
>From 03260eb802e6eafd03129900c08ee83923c11e1d Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Tue, 21 Apr 2015 10:34:52 +1000 >Subject: [PATCH] Bug 14031 - Itemnumber should be a numeric search in > ccl.properties > >This patch changes the "itemnumber" alias so that it acts like >"itemnumber,st-numeric". That is, it always does a numeric search. > >_TEST PLAN_ > >The best way to test this patch is to apply the patch and then run >"make upgrade", I suspect. As this will refresh your "ccl.properties". > >However, this patch is actually really small, so you can just apply >it manually to an existing "ccl.properties" if you rather save time. > >Basically, you just need to do the following steps: > >0) Do a search for "itemnumber:<insert real indexed itemnumber here>" >1) Note that you can't retrieve any results >2) Change your ccl.properties to say "itemnumber 1=8010 4=109" >3) Repeat the search for "itemnumber:<X>" >4) Note that you now retrieve your result > >Signed-off-by: Magnus Enger <magnus@libriotech.no> >Tested on a gitified package install. Made the change to >/etc/koha/zebradb/ccl.properties manually. After this change >I can successfully search for "itemnumber:1". >--- > etc/zebradb/ccl.properties | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties >index 99e3498..803f7b1 100644 >--- a/etc/zebradb/ccl.properties >+++ b/etc/zebradb/ccl.properties >@@ -993,7 +993,7 @@ cn-sort 1=8007 > notforloan 1=8008 4=109 > ccode 1=8009 > mc-ccode ccode >-itemnumber 1=8010 >+itemnumber 1=8010 4=109 > # homebranch 1=8011 > homebranch 1=homebranch > branch homebranch >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14031
:
38223
|
39897
|
41382