LP1773452: Repeating copy alerts user/jboyer/lp1773452_copy_alert_fix
authorJason Boyer <jboyer@library.in.gov>
Thu, 21 Jun 2018 11:17:48 +0000 (07:17 -0400)
committerJason Boyer <jboyer@library.in.gov>
Thu, 21 Jun 2018 11:17:48 +0000 (07:17 -0400)
commit3a7677887ff5f4433a474b8690a18d5a0c85a5ea
tree920f296f3db83a7e2b60eac4f4fbe4384014b71a
parentd8f61e1875444aef258032ddb07cae6317bf7fff
LP1773452: Repeating copy alerts

Without considering the checkin_time on the most
recent circ for an item, checking in a lost, claims
returned, or claims never checked out item would
cause copy alerts on checkin repeatedly until it
was checked out again. Staff may be confused by this
thinking that there is a continuing problem with
the item until the alerts go away.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Open-ILS/src/sql/Pg/040.schema.asset.sql
Open-ILS/src/sql/Pg/t/regress/lp1773452_copy_state_post_checkin.pg [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.function.asset.copy_state-update.sql [new file with mode: 0644]