| Summary: | Advanced search add filter multi-branches | ||
|---|---|---|---|
| Product: | Koha | Reporter: | delaye <stephane.delaye> |
| Component: | Searching | Assignee: | delaye <stephane.delaye> |
| Status: | ASSIGNED --- | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | claire.hernandez |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
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...