Limit excess serial data fetching
authorDan Wells <dbw2@calvin.edu>
Tue, 17 Apr 2012 20:02:49 +0000 (16:02 -0400)
committerDan Wells <dbw2@calvin.edu>
Fri, 11 May 2012 15:13:19 +0000 (11:13 -0400)
commitd17804f6b774198fd96b26c7f99b683002f9eb92
tree4575ead8334472410d185454c0527176512cb3be
parentb0718250dcbd48ed609636aa8e11086531245170
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm
Open-ILS/xul/staff_client/server/serial/manage_items.js