On Wed, Oct 22, 2008 at 11:56 AM, Paul POULAIN <paul.poulain@free.fr> wrote:
Joshua Ferraro a écrit :
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.
Wow ! that's exactly what one of our customers request atm...
As this mail is quite old, has it been added to koha 3.0 already ? Yes, it's the system preference called 'AdvancedSearchTypes', and it currently has two values, though more could be added down the road.
Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE CEO migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS