http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9739
Bernardo Gonzalez Kriegel <bgkrie...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #18058|0 |1 is obsolete| | --- Comment #9 from Bernardo Gonzalez Kriegel <bgkrie...@gmail.com> --- Created attachment 20871 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20871&action=edit [SIGNED-OFF] Bug 9739: more options for serialsUpdate.pl Script serialsUpdate.pl must be set in crontab to run daily. It checks serials that are late, modifies status and adds a note. This patch adds some options : --note : defined note, a defaut one is used if not defined --no-note : disable automatic note --verbose : used to control output This patch also implements confirmation option "-c" who whas present but not used. Test plan : Run script on a database with late serials : - serialsUpdate.pl -h => you get help text in output - serialsUpdate.pl --man => you get full help - serialsUpdate.pl -v => you get output of changed serials but database has not changed - serialsUpdate.pl -c -v => you get output of changed serials and database has changed, with note "Automatically set to late" - serialsUpdate.pl -c => database has changed without anything in output - serialsUpdate.pl -c --note "LATE" => database has changed, with note "LATE" - serialsUpdate.pl -c --no-note => database has changed with no note Signed-off-by: Bernardo Gonzalez Kriegel <bgkrie...@gmail.com> Works as described. No koha-qa errors. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/