AutoFieldWidget single-object cache repairs
authorBill Erickson <berick@esilibrary.com>
Thu, 22 Mar 2012 17:41:29 +0000 (13:41 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 23 Mar 2012 16:53:10 +0000 (12:53 -0400)
commite67cd5f535dbce15575926566da0d7b57c0b7914
treecf83f93cd702eb9af9b1bc5b078fc89b5a5c8e94
parent7884fe0c2f06906a1e38d7dc005e4f8841a10a40
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