AutoFieldWidget single-object cache repairs collab/berick/auto-field-widget-cache-repairs
authorBill Erickson <berick@esilibrary.com>
Thu, 22 Mar 2012 17:41:29 +0000 (13:41 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 22 Mar 2012 20:52:00 +0000 (16:52 -0400)
commit9b5e4571ecb35d63e687dc9942bcc95e0e125888
tree82847ecea68026f8311f3faea90b945674c2fdc7
parent001ef6a6b0f4da8ea5a3606c415a9bbfe0a6a9d8
AutoFieldWidget single-object cache repairs

Caching single objects linked off the context object was failing in most
cases as it was caching under the display name instead of the true value
(pkey) for the linked object.  This fixes that by always caching the
linked object by its true value, so that future cache lookups will be
looking in the right place.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js