LP#1549505: fix *_over_time calculations
authorGalen Charlton <gmc@esilibrary.com>
Fri, 25 Mar 2016 18:02:04 +0000 (14:02 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 25 Mar 2016 18:02:04 +0000 (14:02 -0400)
commitc4e877db89c39419ea41b86791909c2e97d1988c
tree33b56f2f6ff22757b6bf1e12b91dbf7fa3a4d8ab
parentfde62f10a5dff97cab92f1ad7965ad0d1e302e51
LP#1549505: fix *_over_time calculations

Use the age of an event, not its interval from the
beginning of computer time, for the following
popularity parameters:

* holds_filled_over_time
* holds_placed_over_time
* circs_over_time

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.statisitcal-ratings.sql