https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18414

Kyle M Hall <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #96574|0                           |1
        is obsolete|                            |

--- Comment #5 from Kyle M Hall <[email protected]> ---
Created attachment 101116
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101116&action=edit
Bug 18413: Allow to use other select criteria with delete_patrons.pl

Adds the ability to specify a file with the --file flag that
should be a list of borrowernumbers for deletion.
If used without other flags it will delete the list of borrowers,
if used with other flags it will treat the other criteria
as filters for the list.

To Test:
1) Specify a list, e.g. borrowers.txt, of borrowernumbers in the database and
put them in a text file with one per line
2) Invoke the script like ./delete_patrons.pl --file borrowers.txt to delete
those patrons
3) Populate the list with a mix of borrowers in a category and those not, say
categoryfoo
4) Invoke the scirpt as ./delete_patrons.pl --category_code categoryfoo --file
borrowers.txt
5) Only the borrowers in the file that have the specified category will be
deleted

Signed-off-by: Katrin Fischer <[email protected]>

https://bugs.koha-community.org/show_bug.cgi?id=18414

Signed-off-by: Kyle M Hall <[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/

Reply via email to