[Koha-bugs] [Bug 5409] Call number is not show on Opac search result page.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 15 13:52:20 CET 2010


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5409

Galen Charlton <gmcharlt at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gmcharlt at gmail.com

--- Comment #2 from Galen Charlton <gmcharlt at gmail.com> 2010-11-15 12:52:20 UTC ---
There is a conflict in the definition of the syspref.  The SQL files install it
as type choice with the possible values being 'statuses' and 'itemdetails'. 
The description is

statuses : show only the status of items in result list. itemdisplay : show
full location of items (branch+location+callnumber) as in staff interface

However, preferences/searching.pref thinks that it's a Boolean:

           - pref: OPACItemsResultsDisplay
              type: boolean
              choices:
                  yes: Show
                  no: "Don't show"

Since there are only two choices, even in the original definition of the system
preference, the (what I suspect was inadvertent) redefinition of it in
searching.pref needs a corresponding database update that would do the
following:

* change the type of the syspref to YesNo
* set the syspref value to '1' if it is 'itemdetails' and 0 if it is
'statuses', leaving it alone if it is already 1 or 0.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list