https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40042
Magnus Enger <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #182896|0 |1 is obsolete| | --- Comment #2 from Magnus Enger <[email protected]> --- Created attachment 182938 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182938&action=edit Bug 40042: Add default value 0 for index var in search_indexes.inc In koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc some calls do not set 'index' var generating idx="idx_". Set 0 has default value. Test plan : 1) Enable system preference 'IntranetCatalogSearchPulldown' 2) Go to catalogue advanced search 3) Look HTML source and check you see: <select class="advsearch" name="idx" id="idx_0"> <select class="advsearch" name="idx" id="idx_1"> <select class="advsearch" name="idx" id="idx_2"> 4) In page page toolbar, click 'Search catalog' 5) Click on 'More options' icon 6) Look HTML source of this part and check you see: <select class="advsearch" name="idx" id="idx_0"> Without patch you see: <select class="advsearch" name="idx" id="idx_"> Signed-off-by: Magnus Enger <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
