[Koha-devel] RFC: New System Preference to Determine which 'Types' and associated icons to display in advanced Search

Joshua Ferraro jmf at liblime.com
Fri May 30 20:14:48 CEST 2008


Hi all,

It seems like every library has a different definition of what they want
to display as 'Type' limits in the advanced search area. The API is
currently flexible to support any defined indexes, but customizing this
beyond the default itemtypes currently requires editing of the advsearch.tmpl
templates -- not horrible, but still kinda annoying.

I propose a new syspref that allows the user to specify either
'itemtypes' (default)
or any codes from authorised_values to be the limits in place of itemtypes (so
for example, ccode).

This would allow every library to define their own authorised-values, and then
use those as search limits in advsearch.tmpl, without any template
modifications.
It's a fairly trivial addition, and if we default to itemtypes, won't
affect any existing
Koha installations.

Thoughts?

Cheers,

-- 
Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE
CEO migration, training, maintenance, support
LibLime Featuring Koha Open-Source ILS
jmf at liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS



More information about the Koha-devel mailing list