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

Michael Hafen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #169405|0                           |1
        is obsolete|                            |
 Attachment #169406|0                           |1
        is obsolete|                            |
 Attachment #169407|0                           |1
        is obsolete|                            |

--- Comment #17 from Michael Hafen <[email protected]> ---
Created attachment 170213
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=170213&action=edit
Bug 9596: Add library and skip-library options to cronjobs/longoverdue.pl

[rebase to 2024-08-05 and change cli option from --branch to --library for QA]
[  I hope it's ok that I squashed it  ]


This script doesn't seem to be included in cron files by default.
This change is to allow script parameters to effect only certain libraries.
This allows the script to be added multiple times to a cron file with
  different settings for different libraries.

Test plan:
1. apply patch
2. identify two books at different libraries the same number of days overdue.
3. run the longoverdue.pl script specifying one of the libraries in the
     --library command line parameter.
     i.e. koha-shell -c 'misc/cronjobs/longoverdue.pl --library branch_code
--lost 60=2 --maxdays=61 --confirm' instance_name
4. observe that the book at the specified library has been or would be affected
     by the script while the other book is not.

Bug 9596: (QA follow-up) Add some clarifying comments

Bug 9596: (QA follow-up) Only find a given patron once

-- 
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