]> git.koha-community.org Git - koha.git/commit
Bug 23184: Don't select branches for export by default
authorNick Clemens <nick@bywatersolutions.com>
Mon, 4 Nov 2019 12:45:16 +0000 (12:45 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 21 Nov 2019 11:32:31 +0000 (11:32 +0000)
commit2e310fa7f38426b2a53bcca6e66d2ffae3688d17
treedacf4d6a6d94923828e6a9293901f6c3c23dfebf
parent5cd071d66e2bba70f712b4fa4347648a51e1ed1a
Bug 23184: Don't select branches for export by default

This patch changes the include to require passing "selectall=1" to select all items

This include is only used in this page, so changes should not have side effects
git grep "branch-selector\.inc"

This patch also corrects a mismatch in the class names

To test:
1 - Browse to Tools->Export data
2 - Note all branches are selected
3 - Note this will exclude records wiuthout items if you click 'Export bibiographic records'
4 - Apply patch
5 - Visit page again
6 - Note no branches are selected by default
7 - Confirm 'Select all/Clear all' still work
8 - Note record with no items are exported by default now

Signed-off-by: Myka Kennedy Stephens <mkstephens@lancasterseminary.edu>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc