fetchItemByIdentity now returns null immediately upon null identity
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 18 Nov 2010 16:31:34 +0000 (16:31 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 18 Nov 2010 16:31:34 +0000 (16:31 +0000)
commit18374e6f8dc14fbbd5e2f870a51d0280ec0e28c0
treeb2c8529ada89db3d5eec95f679b8adedb2367c05
parent8e6dcb9312954ec4b5ec7145a0291ae04d008def
fetchItemByIdentity now returns null immediately upon null identity

Besides being trivially more efficient, this avoids a situation
where pcrud can sometimes time out when attempting to retrieve
a row by a null PK value.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18786 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/web/js/dojo/openils/PermaCrud/Store.js