Limit excess serial data fetching
authorDan Wells <dbw2@calvin.edu>
Tue, 17 Apr 2012 20:02:49 +0000 (16:02 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 25 Apr 2012 20:28:59 +0000 (16:28 -0400)
commit9f8e12a96067505b7bf151a2355f8a7cb5925bc4
treeae49297f4a4b46db70c3c72febcc921c20206755
parentfc557f7d63e51ce566e9d03c219e8c4eea1d23d6
Limit excess serial data fetching

Overfetching and duplication of data in the interface is both
inefficient and bug-inducing.  This reduces a couple big offenders.

First, in the items tab, we will store distribution and subscription
data separately, rather than duplicating for every row.  Second, we
will only redraw rows as needed rather than refresh the whole list so
often.  Finally, we no longer need to lookup call numbers separately,
as they are included in the one-time distribution fetch.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm
Open-ILS/xul/staff_client/server/serial/manage_items.js