]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Really add *entire* selection list to a purchase order, when desired,
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 4 Oct 2011 21:51:35 +0000 (17:51 -0400)
committerMike Rylander <mrylander@gmail.com>
Thu, 6 Oct 2011 13:27:42 +0000 (09:27 -0400)
commit2c4841f00487b0653f69fa2fa7f7917353a1e6a5
tree48b479f8c5155731ff5783a1f428d89630adc446
parent1ba8903c40413f692ff0146ece061417eafcdafd
Really add *entire* selection list to a purchase order, when desired,

and generally do what a user would expect when, in Acq, the user
executes an operation on "all items".

This addresses LaunchPad bug #810030.

The fundamental issue is that an AcqLiTable, which is used in several
different ways in different interfaces, may be representing items on a
selection list (for example), but it doesn't necessarily know all of the
items that belong to that selection list.  It only knows what it has drawn.

This addresses that deficiency by teaching the getSelected() method
some new tricks so that it can consult the server in the various ways
appropriate to getting a list of /all/ the items on a selection list, a
purchase order, a virtual PO, a set of search results, etc.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/ui/default/acq/common/li_table.js
Open-ILS/web/js/ui/default/acq/common/li_table_pager.js
Open-ILS/web/js/ui/default/acq/search/unified.js