]> git.evergreen-ils.org Git - Evergreen.git/commit
lp1010187 eliminate redundant/unnecessary calls
authorJason Etheridge <jason@esilibrary.com>
Wed, 20 Jun 2012 15:47:54 +0000 (11:47 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Fri, 14 Dec 2012 16:18:10 +0000 (11:18 -0500)
commit8f1b529f4df744d15a7bde48d560836cb37eff69
tree0f1032397b8c4ffb7c48af05add67e0151b24f90
parent73c4ad8493995507919d1bcf62c38442d79c3225
lp1010187 eliminate redundant/unnecessary calls

Particularly invocations of open-ils.circ.stat_cat.asset.retrieve.all in the
Item Attribute Editor

To test:

    login with a BR1 workstation
    load a pristine (non-stat-cat-laden) BR1 item with the editor
    there should be no call to open-ils.circ.stat_cat.asset.retrieve.all
    change the Circ Lib on the item to BR4
    reload the item in the editor
    there should be a call to open-ils.circ.stat_cat.asset.retrieve.all
    reload the item in the editor
    there should be no call to open-ils.circ.stat_cat.asset.retrieve.all
    assign the item a stat cat entry owned by CONS
    reload the item in the editor
    there should be no call to open-ils.circ.stat_cat.asset.retrieve.all

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/xul/staff_client/server/cat/copy_editor.js