LP#1378575: teach action::hold_request about behind_desk user/gmcharlt/lp1378575_teach_cdbi_behind_desk
authorGalen Charlton <gmc@esilibrary.com>
Tue, 7 Oct 2014 23:42:18 +0000 (16:42 -0700)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 7 Oct 2014 23:42:18 +0000 (16:42 -0700)
commitb4c85e0377859c8b5e42299c41406b41219ffb93
tree1ccc56fccd746e0ecc2c16437d17ab5a106a5c63
parentfcf4628204e757692a92595c20a04c99c83e6329
LP#1378575: teach action::hold_request about behind_desk

This patch teaches the CDBI class for the action.hold_request
table about the newish behind_desk column, preventing errors
like this from being thrown if a recent OpenSRF version is in
use:

Processing of hold failed:  Can't locate object method "behind_desk"
via package "action::hold_request" at /usr/local/share/perl/5.14.2/OpenILS/Application/Storage/CDBI.pm line 181.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/action.pm