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 15:28:45 +0000 (11:28 -0400)
commit838f3cea0d720e135504dd08bf709ad7e0f89a69
tree42b83a7740a8fe23825d441689108e151bf4ded0
parent701fac36a803078bd4644a1c2d840cf27fcc4a35
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