Bug 2868 - typo in NoZebraIndexes syspref
Summary: typo in NoZebraIndexes syspref
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Installation and upgrade (command-line installer) (show other bugs)
Version: unspecified
Hardware: PC All
: PATCH-Sent (DO NOT USE) normal (vote)
Assignee: Galen Charlton
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-17 11:37 UTC by Chris Cormack
Modified: 2012-10-25 21:28 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-21 00:57:22 UTC


---- Reported by Andrew.moore@liblime.com 2008-12-17 11:37:46 ----

There's a typo in data/mysql/en/mandatory/sysprefs.sql on line 165 where NoZebraIndexes is set:

INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('NoZebraIndexes','\'title\' => \'130a,210a,222a,240a,243a,245a,245b,246a,246b,247a,247b,250a,250b,440a,830a\',\r\n\'author\' => \'100a,100b,100c,100d,110a,111a,111b,111c,111d,245c,700a,710a,711a,800a,810a,811a\',\r\n\'isbn\' => \'020a\',\r\n\'issn\' => \'022a\',\r\n\'lccn\' => \'010a\',\r\n\'biblionumber => \'999c\',\r\n\'itemtype\' => \'942c\',\r\n\'publisher\' => \'260b\',\r\n\'date\' => \'260c\',\r\n\'note\' => \'500a, 501a,504a,505a,508a,511a,518a,520a,521a,522a,524a,526a,530a,533a,538a,541a,546a,555a,556a,562a,563a,583a,585a,582a\',\r\n\'subject\' => \'600*,610*,611*,630*,650*,651*,653*,654*,655*,662*,690*\',\r\n\'dewey\' => \'082\',\r\n\'bc\' => \'952p\',\r\n\'callnum\' => \'952o\',\r\n\'an\' => \'6009,6109,6119\',\r\n\'homebranch\' => \'952a,952c\'','','Enter a specific hash for NoZebra indexes. Enter : \'indexname\' => \'100a,245a,500*\',\'index2\' => \'...\'','Free');

biblionumber is not quoted properly. It actually doesn't seem to be a problem for C4::Biblio::GetNoZerbraIndexes because of the way it's written.

I have a patch ready for this.

-A



---- Additional Comments From Andrew.moore@liblime.com 2008-12-17 12:12:57 ----

I submitted a patch for this.
http://markmail.org/message/r56jyz56262ne4qr




---- Additional Comments From Andrew.moore@liblime.com 2008-12-17 13:15:31 ----


submitted new patch:

http://markmail.org/message/62yaabfpjti24cxz




---- Additional Comments From gmcharlt@gmail.com 2008-12-17 13:28:47 ----

Patch pushed.  Please test and close.



---- Additional Comments From Andrew.moore@liblime.com 2008-12-17 13:35:29 ----

looks good. thanks.
closing.




--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 00:57 UTC  ---

This bug was previously known as _bug_ 2868 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=2868

Actual time not defined. Setting to 0.0
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here: chris@bigballofwax.co.nz.
   Previous reporter was Andrew.moore@liblime.com.
The original assignee of this bug does not have
   an account here. Reassigning to the default assignee
   for the component, gmcharlt@gmail.com.
   Previous assignee was Andrew.moore@liblime.com.