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

(-)a/catalogue/detail.pl (+4 lines)
Lines 102-107 my $dbh = C4::Context->dbh; Link Here
102
my @items = &GetItemsInfo( $biblionumber, 'intra' );
102
my @items = &GetItemsInfo( $biblionumber, 'intra' );
103
my $dat = &GetBiblioData($biblionumber);
103
my $dat = &GetBiblioData($biblionumber);
104
104
105
# get count of holds
106
my ( $holdcount, $holds ) = GetReservesFromBiblionumber($biblionumber,1);
107
105
#coping with subscriptions
108
#coping with subscriptions
106
my $subscriptionsnumber = CountSubscriptionFromBiblionumber($biblionumber);
109
my $subscriptionsnumber = CountSubscriptionFromBiblionumber($biblionumber);
107
my @subscriptions       = GetSubscriptions( $dat->{title}, $dat->{issn}, $biblionumber );
110
my @subscriptions       = GetSubscriptions( $dat->{title}, $dat->{issn}, $biblionumber );
Lines 214-219 $template->param( Link Here
214
	itemdata_copynumber => $itemfields{copynumber},
217
	itemdata_copynumber => $itemfields{copynumber},
215
	volinfo				=> $itemfields{enumchron} || $dat->{'serial'} ,
218
	volinfo				=> $itemfields{enumchron} || $dat->{'serial'} ,
216
	z3950_search_params	=> C4::Search::z3950_search_args($dat),
219
	z3950_search_params	=> C4::Search::z3950_search_args($dat),
220
    holdcount           => $holdcount,
217
	C4::Search::enabled_staff_search_views,
221
	C4::Search::enabled_staff_search_views,
218
);
222
);
219
223
(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (+3 lines)
Lines 1883-1885 ul.budget_hierarchy li:last-child:after { Link Here
1883
ul.budget_hierarchy li:first-child:after {
1883
ul.budget_hierarchy li:first-child:after {
1884
    content: "";
1884
    content: "";
1885
}
1885
}
1886
.holdcount { font-size : 105%; line-height : 200%; }
1887
.holdcount a { border : 1px solid #a4bedd; background-color : #e4ecf5; font-weight : bold; -moz-border-radius: 4px; padding : .1em .4em; text-decoration : none; }
1888
.holdcount a:hover { background-color : #ebeff7; }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl (-3 / +1 lines)
Lines 185-195 function verify_images() { Link Here
185
	        </ul>
185
	        </ul>
186
	        </li>
186
	        </li>
187
        <!-- /TMPL_IF -->
187
        <!-- /TMPL_IF -->
188
            <!-- TMPL_IF NAME="holdcount" --><li><strong>Holds:</strong> <span class="holdcount"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="holdcount" --></a></span></li><!-- TMPL_ELSE --><!-- /TMPL_IF -->
188
        </ul>
189
        </ul>
189
        <!-- /TMPL_IF -->
190
</div>
190
</div>
191
</div>
191
</div>
192
193
<div id="bibliodetails" class="toptabs">
192
<div id="bibliodetails" class="toptabs">
194
193
195
<ul>   
194
<ul>   
196
- 

Return to bug 4218