[Koha-bugs] [Bug 23698] New: Advanced search add filter multi-branches
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 30 12:31:03 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23698
Bug ID: 23698
Summary: Advanced search add filter multi-branches
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Searching
Assignee: koha-bugs at lists.koha-community.org
Reporter: stephane.delaye at biblibre.com
QA Contact: testopia at bugs.koha-community.org
In advanced search how add a filter who searches multiple sites at once with
the operator AND
it's easy with jquery
$(document).ready(function() {
if ($('#catalog_advsearch').size())
$('#select-libs').append('<form><input type="checkbox"
name="multi_sites">Sites:documents en commun</form>');
$("input[name='multi_sites']").click(function(){
if ($(this).is(":checked"))
{
$("#branchloop").attr('multiple','multiple');
}
else
{
$("#branchloop").prop('multiple',false);
}
});
});
A patch in code Koha would be nice...
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list