Bug 10266 - Statuses not appearing in the OPAC
authorRafal Kopaczka <rkk0@poczta.onet.pl>
Wed, 15 May 2013 14:19:05 +0000 (16:19 +0200)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 17 May 2013 11:52:49 +0000 (07:52 -0400)
commit5c95148bb1852d4b26e64368b6d1013b60a5cf18
tree9b779b8f5565d150a57e8305956dd4a2fa9dd53d
parent6f9b5f34863e5e76621a75050cf4a9da00587017
Bug 10266 - Statuses not appearing in the OPAC

Simply revert order of 2 lines in Items.pm. Previous line write to
variable used in next line as function argument.

To Test:

Give an item a special restricted value, define one if you have to
in the authorised values.

Observe that, without this patch, statuses are not shown in the
OPAC in parentheses. My example was an item that had a restricted
value of "Library Staff Only"

It should have been shown under status on the detail page of the
OPAC, but was not.

Apply the patch, observe that restricted values are now shown
for your item, for example:
Available (Library Staff Only) in the status column.

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and test plan.
Simple change fixing a display problem, no string changes.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Items.pm