Bug 9809: [QA Follow-up] Still found some remains
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 24 Aug 2015 11:50:08 +0000 (13:50 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 26 Aug 2015 13:26:58 +0000 (10:26 -0300)
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>

C4/SIP/ILS/Item.pm
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
reserve/request.pl

index 0f5f816..4586fee 100644 (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',
index 80be359..a6a8f91 100644 (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>
 
index 62f82a8..06dc6bf 100755 (executable)
@@ -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'};