Go to file
Liz Rea ba296fbf4b Bug 9499 - --itemscontent= option is undocumented in advanced-notice.pl cronjob + default date should be date_due, not issuedate
To Test:

Set up a borrower to receive due and/or predue notices.
Define your predue and/or due notice to use <<items.content>>
Give your borrower an issue that will trigger a notice to be sent
(Example: Henry Acevedo has checked out a book that will be coming due tomorrow,
he wants to receive predue notices 1 day in advance)

On the command line, run (your paths may vary, these are mine):
sudo env KOHA_CONF=/etc/koha/sites/devlibrary/koha-conf.xml PERL5LIB=/usr/share/koha/lib perl advance_notices.pl -c -n

Note that the date listed is the due date, not the issue date.

Then run:
sudo env KOHA_CONF=/etc/koha/sites/devlibrary/koha-conf.xml PERL5LIB=/usr/share/koha/lib perl advance_notices.pl -c -n --itemscontent=issuedate,title,author,barcode

Note that the date listed is the issue date, not the date due.

Also run
sudo env KOHA_CONF=/etc/koha/sites/devlibrary/koha-conf.xml PERL5LIB=/usr/share/koha/lib perl advance_notices.pl --help

Should show the help.

sudo env KOHA_CONF=/etc/koha/sites/devlibrary/koha-conf.xml PERL5LIB=/usr/share/koha/lib perl advance_notices.pl --man

Should show the man page version of the help.

sudo env KOHA_CONF=/etc/koha/sites/devlibrary/koha-conf.xml PERL5LIB=/usr/share/koha/lib perl advance_notices.pl

Should show the help. This script requires confirmation before running (-c or nothing is done).

Note that the documentation refers to the --itemscontent= option and now allows --man as well as --help. Also it is a proper POD.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Works as advertised according to the fine test plan.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2013-02-09 13:05:00 +13:00
C4 Bug 9174: Fix itemtype image display in OPAC lists 2013-02-03 15:27:40 +13:00
Koha Bug 9211 - days_between wrong behaviour 2013-02-01 21:41:34 +13:00
acqui Bug 9281: FIX add an order from a staged file 2013-02-01 21:30:19 +13:00
admin Bug 9201 OAI-PMH mapping value cannot be 0 2013-02-07 08:32:48 +13:00
authorities Bug 8744: Thesaurus in authorities should not lock fields 2012-10-04 08:28:02 +13:00
basket Bug 9073 - Download option from the cart should match the menu button in lists 2012-11-26 20:54:37 +13:00
catalogue Bug 9292 - Remove dead code related to 'publictype' 2013-01-15 17:31:47 +13:00
cataloguing Bug 8862 follow-up s/\t/4spaces/g 2012-10-23 10:32:35 +13:00
circ Bug 9140: Followup removes the useless variable $message 2012-12-27 08:57:09 +13:00
debian Bug 8878 - a command to provide a shell with the koha environment 2012-12-22 08:21:19 +13:00
docs Bug 7143 updating history and about page 2013-01-15 21:24:49 +13:00
errors Housekeeping in errors scripts 2010-05-12 07:29:03 -04:00
etc Bug 9552 - BIB1 Relation "Greater Than" Attribute Not Mapped Properly in CCL.Properties 2013-02-09 12:41:58 +13:00
install_misc Bug 8749 - Missing Ubuntu library files in ubuntu.*.packages 2012-10-31 10:45:12 +13:00
installer Bug 9494: update default LOC z39.50 target settings 2013-02-02 20:10:52 +13:00
koha-tmpl Bug 9493: confirmations for user holds in opac are not translatable 2013-02-09 12:49:51 +13:00
labels Bug 8375 - Patch for Common diacritics not shown correctly when exporting batch label to PDF 2012-07-17 17:33:41 +12:00
members Bug 9407: patrons search should match substrings 2013-02-01 21:25:01 +13:00
misc Bug 9499 - --itemscontent= option is undocumented in advanced-notice.pl cronjob + default date should be date_due, not issuedate 2013-02-09 13:05:00 +13:00
offline_circ Bug 8006 - Loading offline circulation does not anonymize 2012-06-23 19:07:11 +12:00
opac Bug 9292 - Remove dead code related to 'publictype' 2013-01-15 17:31:47 +13:00
patroncards Bug 8315 - remove use C4::* version 2012-07-14 10:26:07 +12:00
reports Bug 8588 [3.8.x] Duplicate field IDs cause problems with SQL report parameter entry 2012-12-08 19:45:09 +13:00
reserve Bug 8675 Add hours and mins to renewal due date 2012-09-05 22:10:52 +12:00
reviews Bug 1623 - Provide view of approved comments 2011-12-27 18:26:50 +01:00
rotating_collections Bug 6553 : Follow up adding license statements 2011-08-13 19:54:38 +12:00
selenium Adding selenium tests for filterMembers 2009-09-30 11:30:37 +02:00
serials Bug 3456: Show internalnotes when receiving serials 2012-09-14 10:42:28 +12:00
services Bug 7178: Acquisition item creation improvement 2012-03-26 11:07:23 +02:00
skel installer: fixed chown invocation; added skel for KOHA_LOG_DIR 2007-12-17 09:13:53 -06:00
sms Bug 2505 - Add commented use warnings where missing in the sms/ directory 2010-04-21 20:25:08 +12:00
suggestion Bug 8440: Dates do not appear in suggestions management 2012-07-25 15:30:19 +12:00
svc Bug 7613: OCLC Connexion web service and desktop client, followup patch 2012-09-06 17:06:46 +12:00
t Bug 9174: Fix itemtype image display in OPAC lists 2013-02-03 15:27:40 +13:00
tags Bug 8315 - remove use C4::* version 2012-07-14 10:26:07 +12:00
test Bug 5449: JSON malformed in Koha - Blocker with jQuery 1.4.x 2011-03-12 08:53:41 +13:00
tmp/modified_authorities changing DO_NOT_REMOVE to README.txt 2007-10-21 19:14:41 -05:00
tools Bug 9509 - batchMod.pl does not ensure each barcode is unique 2013-02-07 08:36:29 +13:00
virtualshelves Bug 7788: [SIGNED-OFF] Followup: GetShelf call in addbybiblio script corrected 2012-05-23 16:20:42 +12:00
xt Bug 8470: remove depreciated H:T:P test 2012-07-27 08:50:40 +12:00
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
.mailmap 7439 Mailmap for master 2012-01-27 12:27:58 +01:00
INSTALL Bug 7759, update of install files to use background indexing (and some whitespace tidy) 2012-04-20 16:11:52 +02:00
INSTALL.debian Bug 7759, update of install files to use background indexing (and some whitespace tidy) 2012-04-20 16:11:52 +02:00
INSTALL.fedora7 Bug 7759, update of install files to use background indexing (and some whitespace tidy) 2012-04-20 16:11:52 +02:00
INSTALL.opensuse Bug 7759, update of install files to use background indexing (and some whitespace tidy) 2012-04-20 16:11:52 +02:00
INSTALL.ubuntu Bug 7759, update of install files to use background indexing (and some whitespace tidy) 2012-04-20 16:11:52 +02:00
INSTALL.ubuntu.12.04 Bug 8478 - Update Ubuntu related files (3.8.x) 2012-09-06 11:34:32 +12:00
INSTALL.ubuntu.lucid Bug 7759, update of install files to use background indexing (and some whitespace tidy) 2012-04-20 16:11:52 +02:00
LICENSE Update LICENSE with a fresh copy from upstream. This updates the FSF address, and refers to the LGPL with its current name, and changes a few other minor things of the typographical sort. No semantic changes. 2010-03-16 20:17:48 -04:00
MANIFEST.SKIP Bug 9546 : Updating make manifest tardist 2013-02-09 12:31:59 +13:00
Makefile.PL Bug 7818: update installer for biblio DOM indexing 2012-06-26 09:08:30 +12:00
README updated links in README 2010-05-24 08:14:16 -04:00
README.robots Bug 6411 add another example to README.robots 2011-07-05 14:48:05 +12:00
about.pl Bug 8910 - silent warnings triggered in about.pl 2012-10-27 14:12:37 +13:00
changelanguage.pl Bug 6755 Problems with switching languages 2011-09-23 09:47:09 +12:00
edithelp.pl Bug 7038 Contextual help is always in English 2011-10-18 16:01:25 +13:00
fix-perl-path.PL installer: improvements to fix-path-perl.PL on Win32 2007-12-20 19:20:12 -06:00
help.pl Bug 8705: Software error on help of main page 2012-09-18 21:50:25 +12:00
install-CPAN.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
koha_perl_deps.pl Bug 6914 - fixes for the color option of koha_perl_deps.pl 2011-12-03 07:47:38 +01:00
kohaversion.pl Bumping version for 3.8.9 release 2013-01-23 11:11:04 +13:00
mainpage.pl Bug 6875 cleaning mainpage.pl 2012-02-15 14:58:31 +01:00
rewrite-config.PL Bug 7818: update installer for biblio DOM indexing 2012-06-26 09:08:30 +12:00

README

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 2 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/