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
[EMAIL PROTECTED] |Full Demos at http://liblime.com/koha |1(888)KohaILS
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-devel

Reply via email to