From 97d16ad40c9495c836ea18665f3682d17d841691 Mon Sep 17 00:00:00 2001 From: mbeaulieu Date: Mon, 18 Aug 2014 16:20:18 -0400 Subject: [PATCH] Bug 8587 - Follow-up to Comment 22 1) Removed all useless code. 2) Bug number added in updatadatabase.pl . 3) I've reworked the input form. There is now a select box with 'Permanent' and 'Years' as values. A number input field appears when 'Years' is selected. Range is from 1 to n years. 4) Help message added in the intranet help. modified: installer/data/mysql/updatedatabase.pl modified: koha-tmpl/intranet-tmpl/prog/en/modules/help/serials/subscription-add.tt modified: koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt modified: koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt --- installer/data/mysql/updatedatabase.pl | 2 +- .../en/modules/help/serials/subscription-add.tt | 1 + .../prog/en/modules/serials/subscription-add.tt | 292 +++----------------- .../prog/en/modules/serials/subscription-detail.tt | 54 +--- 4 files changed, 49 insertions(+), 300 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index d967dbc..bd176f3 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -8616,7 +8616,7 @@ if ( CheckVersion($DBversion) ) { $DBversion = 'XXX'; if ( CheckVersion($DBversion) ) { $dbh->do("ALTER TABLE subscription ADD `serial_lifespan` TINYINT(1) DEFAULT -1"); - print "Upgrade to $DBversion done (Add serial_lifespan to subscription)\n"; + print "Upgrade to $DBversion done (Bug 8587 - Add serial_lifespan to subscription)\n"; SetVersion ($DBversion); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/help/serials/subscription-add.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/help/serials/subscription-add.tt index 0a4b54a..aafd56f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/help/serials/subscription-add.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/help/serials/subscription-add.tt @@ -42,6 +42,7 @@
  • If no values are entered in these fields, they will use the OPACSerialIssueDisplayCount and StaffSerialIssueDisplayCount system preference values
  • +
  • Serial lifespan: A serial will be considered "out of date" after the chosen time period. This field is not tied to any functionality, and is only used in reports.
  • In 'First issue publication date' you want to enter the date of the issue you have in your hand, the date from which the prediction pattern will start
  • There are several pre-defined options for the 'Frequency' of publication