Bugfix 4123 - CanBookBeRenewed fixed.
In Circulation::CanBookBeRenewed categorycode and itemtype were not being checked for * wildcard if a specific code was not given. Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
b0cd6429b0
commit
a1336175fd
1 changed files with 2 additions and 2 deletions
|
@ -2065,9 +2065,9 @@ sub CanBookBeRenewed {
|
|||
LEFT JOIN biblioitems USING (biblioitemnumber)
|
||||
|
||||
WHERE
|
||||
issuingrules.categorycode = borrowers.categorycode
|
||||
(issuingrules.categorycode = borrowers.categorycode OR issuingrules.categorycode = '*')
|
||||
AND
|
||||
issuingrules.itemtype = $itype
|
||||
(issuingrules.itemtype = $itype OR issuingrules.itemtype = '*')
|
||||
AND
|
||||
(issuingrules.branchcode = $controlbranch OR issuingrules.branchcode = '*')
|
||||
AND
|
||||
|
|
Loading…
Reference in a new issue