@@ -, +, @@ --- installer/data/mysql/kohastructure.sql | 4 +- .../intranet-tmpl/prog/en/css/staff-global.css | 2 +- .../en/modules/help/tools/toggle_new_status.tt | 2 +- ...us.tt => automatic_item_modification_by_age.tt} | 10 +- .../prog/en/modules/tools/tools-home.tt | 2 +- .../cronjobs/automatic_item_modification_by_age.pl | 6 +- t/db_dependent/Items/ToggleNewStatus.t | 283 -------------------- ...us.pl => automatic_item_modification_by_age.pl} | 6 +- 8 files changed, 16 insertions(+), 299 deletions(-) rename koha-tmpl/intranet-tmpl/prog/en/modules/tools/{toggle_new_status.tt => automatic_item_modification_by_age.tt} (95%) delete mode 100644 t/db_dependent/Items/ToggleNewStatus.t rename tools/{toggle_new_status.pl => automatic_item_modification_by_age.pl} (94%) --- a/installer/data/mysql/kohastructure.sql +++ a/installer/data/mysql/kohastructure.sql @@ -946,7 +946,7 @@ CREATE TABLE `deleteditems` ( `enumchron` text default NULL, -- serial enumeration/chronology for the item (MARC21 952$h) `copynumber` varchar(32) default NULL, -- copy number (MARC21 952$t) `stocknumber` varchar(32) default NULL, -- inventory number (MARC21 952$i) - `new` VARCHAR(32) DEFAULT NULL, -- 'new' value, you can put whatever free-text information. This field is intented to be managed by the toggle_new_status cronjob. + `new` VARCHAR(32) DEFAULT NULL, -- 'new' value, you can put whatever free-text information. This field is intented to be managed by the automatic_item_modification_by_age cronjob. PRIMARY KEY (`itemnumber`), KEY `delitembarcodeidx` (`barcode`), KEY `delitemstocknumberidx` (`stocknumber`), @@ -1246,7 +1246,7 @@ CREATE TABLE `items` ( -- holdings/item information `enumchron` text default NULL, -- serial enumeration/chronology for the item (MARC21 952$h) `copynumber` varchar(32) default NULL, -- copy number (MARC21 952$t) `stocknumber` varchar(32) default NULL, -- inventory number (MARC21 952$i) - `new` VARCHAR(32) DEFAULT NULL, -- 'new' value, you can put whatever free-text information. This field is intended to be managed by the toggle_new_status cronjob. + `new` VARCHAR(32) DEFAULT NULL, -- 'new' value, you can put whatever free-text information. This field is intended to be managed by the automatic_item_modification_by_age cronjob. PRIMARY KEY (`itemnumber`), UNIQUE KEY `itembarcodeidx` (`barcode`), KEY `itemstocknumberidx` (`stocknumber`), --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -2759,7 +2759,7 @@ span.onsite_checkout { border : 1px solid #FFF2CE; } -/* Tools > toggle_new_status */ +/* Tools > automatic_item_modification_by_age */ div.rules { display: block; } --- a/koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/toggle_new_status.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/toggle_new_status.tt @@ -38,7 +38,7 @@
The cronjob script is misc/cronjobs/toggle_new_status.pl.
+The cronjob script is misc/cronjobs/automatic_item_modification_by_age.pl.
Try the -h parameter in order to see the help.
Without any parameter, the script will be launched in a dry-run mode. If the -c (or --confirm) flag is given, the script will apply the changes.
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/toggle_new_status.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/toggle_new_status.tt @@ -113,10 +113,10 @@ //]]> - + [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - +