View | Details | Raw Unified | Return to bug 5143
Collapse All | Expand All

(-)a/circ/view_holdsqueue.pl (-1 / +7 lines)
Lines 96-102 sub GetHoldsQueueItems { Link Here
96
	$sth->execute(@bind_params);
96
	$sth->execute(@bind_params);
97
	my $items = [];
97
	my $items = [];
98
    while ( my $row = $sth->fetchrow_hashref ){
98
    while ( my $row = $sth->fetchrow_hashref ){
99
		$row->{reservedate} = format_date($row->{reservedate});
99
	$row->{reservedate} = format_date($row->{reservedate});
100
	my $record = GetMarcBiblio($row->{biblionumber});
101
    if ($record){
102
        $row->{subtitle} = GetRecordValue('subtitle',$record,'')->[0]->{subfield};
103
	    $row->{parts} = GetRecordValue('parts',$record,'')->[0]->{subfield};
104
	    $row->{numbers} = GetRecordValue('numbers',$record,'')->[0]->{subfield};
105
	}
100
        push @$items, $row;
106
        push @$items, $row;
101
    }
107
    }
102
    return $items;
108
    return $items;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tmpl (-28 / +27 lines)
Lines 14-20 Link Here
14
</div>
14
</div>
15
15
16
<div id="doc" class="yui-t7">
16
<div id="doc" class="yui-t7">
17
   
17
18
   <div id="bd">
18
   <div id="bd">
19
	<div id="yui-main">
19
	<div id="yui-main">
20
	<div class="yui-g">
20
	<div class="yui-g">
Lines 29-76 Link Here
29
    <!-- TMPL_ELSE-->
29
    <!-- TMPL_ELSE-->
30
        <div class="dialog message">No items found.</div>
30
        <div class="dialog message">No items found.</div>
31
    <!-- /TMPL_IF -->
31
    <!-- /TMPL_IF -->
32
33
    <!-- TMPL_IF NAME="itemsloop" -->
32
    <!-- TMPL_IF NAME="itemsloop" -->
34
<table id="holdst">
33
<table id="holdst">
35
	<thead>
34
	<thead>
36
	<tr>
35
	<tr>
37
        <th>Title</th>
36
        <th class="hq-title">Title</th>
38
        <th>Collection</th>
37
        <th class="hq-collection">Collection</th>
39
        <th>Call Number</th>
38
        <th class="hq-callnumber">Call Number</th>
40
        <th>Barcode</th>
39
        <th class="hq-barcode">Barcode</th>
41
		<th>Patron</th>
40
        <th class="hq-patron">Patron</th>
42
        <th>Send To</th>
41
        <th class="hq-sendto">Send To</th>
43
        <th>Date</th>
42
        <th class="hq-date">Date</th>
44
    </tr>
43
    </tr>
45
	</thead>
44
	</thead>
46
     <tbody><!-- TMPL_LOOP NAME="itemsloop"-->
45
     <tbody><!-- TMPL_LOOP NAME="itemsloop"-->
47
        <tr>
46
        <tr>
48
            <td><p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber"-->"><strong><!-- TMPL_VAR NAME="title" escape="html"--></strong></a></p> 
47
            <td class="hq-title"><p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber"-->"><strong><!-- TMPL_VAR NAME="title" escape="html"--></strong> <!-- TMPL_IF NAME="subtitle" --><!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF --></a></p>
49
			<p><strong><!-- TMPL_VAR NAME="author" --></strong>
48
                         <p><strong><!-- TMPL_VAR NAME="author" --></strong>
50
			<!-- TMPL_IF name="publishercode" --><!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
49
                       <div class="hq-pubdata">  <!-- TMPL_IF name="publishercode" --><!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
51
										<!-- TMPL_IF name="publicationyear" -->, <!-- TMPL_VAR name="publicationyear" -->
50
                                                                                 <!-- TMPL_IF name="publicationyear" -->, <!-- TMPL_VAR name="publicationyear" -->
52
										<!-- TMPL_ELSIF name="copyrightdate"-->, <!-- TMPL_VAR name="copyrightdate" --><!-- /TMPL_IF -->
51
                                                                                 <!-- TMPL_ELSIF name="copyrightdate"-->, <!-- TMPL_VAR name="copyrightdate" --><!-- /TMPL_IF -->
53
                                        <!-- TMPL_IF name="pages" -->: <!-- TMPL_VAR name="pages" --> <!-- /TMPL_IF -->
52
                                         <!-- TMPL_IF name="pages" -->: <!-- TMPL_VAR name="pages" --> <!-- /TMPL_IF -->
54
                                        <!-- TMPL_IF name="size" --><!-- TMPL_VAR name="size" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="isbn" -->ISBN: <!-- TMPL_VAR NAME="isbn" --><!-- /TMPL_IF --></p>
53
                                         <!-- TMPL_IF name="size" --><!-- TMPL_VAR name="size" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="isbn" -->ISBN: <!-- TMPL_VAR NAME="isbn" --><!-- /TMPL_IF --></p>
54
			</div>
55
			</td>
55
			</td>
56
            <td><!-- TMPL_VAR NAME="ccode" --></td>
56
            <td class="hq-collection"><!-- TMPL_VAR NAME="ccode" --></td>
57
            <td><!-- TMPL_VAR NAME="location" --> <!-- TMPL_VAR NAME="itemcallnumber"--> <!-- TMPL_VAR NAME="enumchron" --></td>
57
            <td class="hq-callnumber"><!-- TMPL_VAR NAME="location" --> <!-- TMPL_VAR NAME="itemcallnumber"--> <!-- TMPL_VAR NAME="enumchron" --></td>
58
            <td>
58
            <td class="hq-barcode">
59
                <!-- TMPL_IF NAME="item_level_request" -->
59
                <!-- TMPL_IF NAME="item_level_request" -->
60
                    <!-- TMPL_VAR NAME="barcode" -->
60
			<em>Only Item: </em><!-- TMPL_VAR NAME="barcode" -->
61
                <!-- TMPL_ELSE -->
61
                <!-- TMPL_ELSE -->
62
                    <em>Any available copy</em>
62
                    <strong><!-- TMPL_VAR NAME="barcode" --></strong></br><em>or Any available</em>
63
                <!-- /TMPL_IF -->
63
                <!-- /TMPL_IF -->
64
            </td>
64
            </td>
65
			<td><p><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=<!-- TMPL_VAR NAME="cardnumber" -->#reserves"><!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR NAME="firstname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</a></p> <p><!-- TMPL_VAR NAME="phone" --></p></td>
65
			<td class="hq-patron"><p><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=<!-- TMPL_VAR NAME="cardnumber" -->#reserves"><!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR NAME="firstname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</a></p> <p><!-- TMPL_VAR NAME="phone" --></p></td>
66
            <td><!-- TMPL_VAR NAME="pickbranch" --></td>
66
            <td class="hq-sendto"><!-- TMPL_VAR NAME="pickbranch" --></td>
67
            <td><!-- TMPL_VAR NAME="reservedate" --></td>
67
            <td class="hq-date"><!-- TMPL_VAR NAME="reservedate" --></td>
68
        </tr>
68
        </tr>
69
    <!-- /TMPL_LOOP --></tbody>
69
    <!-- /TMPL_LOOP --></tbody>
70
    </table>
70
    </table>
71
	<!-- /TMPL_IF --> 
71
	<!-- /TMPL_IF --> 
72
	<!-- /TMPL_IF --> 
72
	<!-- /TMPL_IF -->
73
	
73
74
<!-- TMPL_UNLESS NAME="total" -->
74
<!-- TMPL_UNLESS NAME="total" -->
75
<form name="f" action="/cgi-bin/koha/circ/view_holdsqueue.pl" method="post">
75
<form name="f" action="/cgi-bin/koha/circ/view_holdsqueue.pl" method="post">
76
	<fieldset class="rows">
76
	<fieldset class="rows">
Lines 84-90 Link Here
84
				<!-- /TMPL_IF -->
84
				<!-- /TMPL_IF -->
85
            <!-- /TMPL_LOOP -->
85
            <!-- /TMPL_LOOP -->
86
            </select></li>
86
            </select></li>
87
			<!--  Not working yet
87
			<!-- FIXME Not working yet
88
			<li><label for="itemtypeslimit">Item Type: </label><select name="itemtypeslimit" id="itemtypeslimit">
88
			<li><label for="itemtypeslimit">Item Type: </label><select name="itemtypeslimit" id="itemtypeslimit">
89
                <option value="">All</option>
89
                <option value="">All</option>
90
                <!-- TMPL_LOOP name="itemtypeloop" -->
90
                <!-- TMPL_LOOP name="itemtypeloop" -->
91
- 

Return to bug 5143