[Koha] How to add additional options to the items search page for label batch creator?

Senthil Anand ssenthilanand at gmail.com
Mon May 16 23:22:47 NZST 2011


On 12 May 2011 02:23, Indranil Das Gupta <indradg at gmail.com> wrote:

> From what I can see, i think "a" is already catered to. But how about
> option "b" and "c"
>
> Where should i start tinkering around to add that feature... any idea?
> the label-item-search.pl or the search.tmpl or simply via
> IntranetUserJS using a bit of jQuery?
>
> FWIW, I'm on 3.2.7 and upgrading to 3.4 is not an option at the moment.
>
> cheers :)

Hi,

In 3.0.x the search page just does a zebra query from the perl file.

You need to modify the template file to show the options and the items
search perl file to process the new options and fire a zebra query
based on the fields you want to sort. If the fields you need or not
already indexed, you would need to add the fields to be indexed in the
zebra configuration.

I am not familiar with jQuery to day whether this can be done using
JS. Also 3.2 might be different.

Regards,
Senthil


More information about the Koha mailing list