LP#1078593 Regenerate summaries when deleting issuances user/dbwells/lp1078593_regen_summaries
authorDan Wells <dbw2@calvin.edu>
Tue, 8 Apr 2014 20:22:33 +0000 (16:22 -0400)
committerDan Wells <dbw2@calvin.edu>
Tue, 8 Apr 2014 20:51:59 +0000 (16:51 -0400)
commit9fceb5a6f9bb33ac0d262beee97437aea3d0b0db
tree0bdfe64b49c46d6dce93163a1b531a1628d3c7c1
parent39a4611254444d526a218b71afe7ddb631e84654
LP#1078593 Regenerate summaries when deleting issuances

Both interfaces currently allow you to delete issuances even if they
have items attached and have the delete cascade.  While this might be
a dangerous allowance, we should still make sure to keep our summaries
updated when this happens.

This commit adds automatic summary regeneration when deleting issuances
in either serials interface.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm
Open-ILS/src/templates/serial/subscription/issuance.tt2
Open-ILS/web/js/ui/default/serial/subscription/issuance.js