]> git.koha-community.org Git - koha.git/commit
Bug 18201: Export data -Fix "Remove non-local items" option and add "Removes non...
authorNick Clemens <nick@bywatersolutions.com>
Thu, 13 Apr 2017 14:21:50 +0000 (10:21 -0400)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 10 Jan 2018 12:48:02 +0000 (12:48 +0000)
commit008920eaeb77ffbabece855682e157936bb89c8b
treeb0933f870794a0e4390bd1ae3c409719a69fc3d8
parent42f20997dfc126bfa1e8e64af70274b39693890a
Bug 18201: Export data -Fix "Remove non-local items" option and add "Removes non-local records" option for existing functionality

It turns out the modules had the option expected  built in, we just didn't call
it. This patch set expands the options for passing to the export.

To test:
1 - Go to Tools->Export data
2 - Perform an export and check 'Remove non-local items'
3 - Note that file contains only 'local' records, but includes all items
on those records
4 - Apply patch
5 - Note Tools->Export data has a new option to remove records not owned
by logged in branch
6 - Export as before checking records option, file should be as before
7 - Now check 'Remove items not owned by logged in branch'
8 - File should now only have local items (may have empty records)
9 - Check both boxes and recieve only 'local' records and items

Signed-off-by: Scott Kehoe <scott@masslibsystem.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Exporter/Record.pm
koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt
tools/export.pl