lp1010187 eliminate redundant/unnecessary calls collab/dyrcona/lp1010187_rel_2_3_backport
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:24:39 +0000 (11:24 -0500)
commit7e8ba8e30f225dd35c051f0b88666412f36cbe0b
tree6837243999a66937a2753035d749a0b286db5ce9
parent99978c63b5f267cad91cfe8e3743d7a8cb30862b
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