]> git.koha-community.org Git - koha.git/commit
Cannot use the same TMPL_VAR to select ALL options.
authorJoe Atzberger <joe.atzberger@liblime.com>
Mon, 20 Jul 2009 20:37:24 +0000 (15:37 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Tue, 21 Jul 2009 00:28:06 +0000 (20:28 -0400)
commit850a8c2a4b25d8d99d3d503192933ce3b166ea34
treedf7f920d8b8f45b598c585fb3a193a525e99b4d1
parentdf7ef101e1e83d89db6e92a7c81bb2a3e25f476f
Cannot use the same TMPL_VAR to select ALL options.

Only one select can be selected in this case.  If preselection of search type is
desired, I recommend a clean implementation w/ jquery instead of adding a conditional
for each select.  Please note, that is the only good way to get multiple preselections,
since the same .inc file will be used in each case.  So a single variable like
    <TMPL_IF NAME="index_bc_selected">
cannot be used, since it would set for ALL (3) advanced search dropdowns.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc