]> git.evergreen-ils.org Git - Evergreen.git/commit
Circ Statistical Archiving
authorThomas Berezansky <tsbere@mvlc.org>
Sat, 17 Sep 2011 18:49:16 +0000 (14:49 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 5 Jan 2012 22:39:16 +0000 (17:39 -0500)
commitee27d36a3121b409d17ba1016be93372a792c0d4
tree5f8b62533ac8a5e7819c6ecd09587ba213e3de2d
parentfa73a59f4b4cbc8d1c4bc1707c664bca555ecab8
Circ Statistical Archiving

Copy Location

Instead of only archiving the copy location with aged circs, do so with all
circs, using the copy location at time of circ. This allows for running of
reports on the copy location even after the item is no longer in it.

Statistical Categories

Add a flag to statistical categories to allow them to be archived with all
circulations (at checkout). Reports can then be run on regular and aged
circulations based on the contents of the statistical categories.

This patch was inspired by Tim Spindler's submission to
https://bugs.launchpad.net/evergreen/+bug/798255 - thanks Tim!

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
12 files changed:
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/action.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/actor.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/asset.pm
Open-ILS/src/sql/Pg/005.schema.actors.sql
Open-ILS/src/sql/Pg/040.schema.asset.sql
Open-ILS/src/sql/Pg/090.schema.action.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.statistical_archive.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXY.schema.statistical_archive.all_circulation.sql [new file with mode: 0644]
Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/xul/staff_client/server/admin/stat_cat_editor.js
Open-ILS/xul/staff_client/server/admin/stat_cat_editor.xhtml