Bug 9809: [QA Follow-up] Still found some remains

In the staff client we had still some remains referring to the
constraint types.
Also touched one comment line from SIP.

Test plan:
Add a hold in the staff client.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Marcel de Rooy 2015-08-24 13:50:08 +02:00 committed by Tomas Cohen Arazi
parent 031a3196a4
commit 092a7e1b53
3 changed files with 0 additions and 9 deletions

View File

@ -47,7 +47,6 @@ our $VERSION = 3.07.00.049;
itemnumber => '823',
priority => '1',
reservenotes => undef,
constrainttype => 'a',
reservedate => '2008-10-09',
found => undef,
rtimestamp => '2008-10-09 11:15:06',

View File

@ -769,7 +769,6 @@ function checkMultiHold() {
[% END %]
</a>
[% ELSE %]
[% IF ( reserveloo.constrainttypea ) %]
[% IF ( reserveloo.item_level_hold ) %]
<i>Only item
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% reserveloo.biblionumber %]">
@ -785,11 +784,6 @@ function checkMultiHold() {
<i>Next available</i>
<input type="hidden" name="itemnumber" value="" />
[% END %]
[% ELSE %]
[% IF ( reserveloo.constrainttypeo ) %]
only this type :<b>[% reserveloo.volumeddesc %] [% reserveloo.itemtype %]</b>
[% END %]
[% END %]
[% END %]
</td>

View File

@ -526,8 +526,6 @@ foreach my $biblionumber (@biblionumbers) {
$reserve{'notes'} = $res->{'reservenotes'};
$reserve{'wait'} =
( ( defined $res->{'found'} and $res->{'found'} eq 'W' ) or ( $res->{'priority'} eq '0' ) );
$reserve{'constrainttypea'} = ( $res->{'constrainttype'} eq 'a' );
$reserve{'constrainttypeo'} = ( $res->{'constrainttype'} eq 'o' );
$reserve{'voldesc'} = $res->{'volumeddesc'};
$reserve{'ccode'} = $res->{'ccode'};
$reserve{'barcode'} = $res->{'barcode'};