bug_6488: Take in account opachiddenitems when searching in opac
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-authoritiessearchresultlist.tt
1 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › [% IF ( total ) %]Authority Search Result[% ELSE %]No results found[% END %]
2 [% INCLUDE 'doc-head-close.inc' %]
3 </head>
4 <body id="opac-authoritiesresultlist">
5 [% IF ( OpacNav ) %]<div id="doc3" class="yui-t1">[% ELSE %]<div id="doc3" class="yui-t7">[% END %]
6    <div id="bd">
7 [% INCLUDE 'masthead.inc' %]
8
9         <div id="yui-main">
10         <div class="yui-b"><div class="yui-g">
11 <div id="userauthsearchresults" class="container">
12         <h1>Authority search results</h1>
13         <div id="pages">
14                         [% IF ( displayprev ) %]
15                                 <a href="opac-authorities-home.pl?startfrom=[% startfromprev %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">
16                                         &lt;&lt;
17                                 </a>
18                         [% END %]
19                         [% FOREACH number IN numbers %]
20                                 [% IF ( number.highlight ) %]
21                                         <span class="current">[% number.number %]</span>
22                                 [% ELSE %]
23                                         <a href="opac-authorities-home.pl?startfrom=[% number.startfrom %]&amp;[% FOREACH searchdat IN number.searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">[% number.number %]</a>
24                                 [% END %]
25                         [% END %]
26                         [% IF ( displaynext ) %]
27                                 <a href="opac-authorities-home.pl?startfrom=[% startfromnext %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]&amp;resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">&gt;&gt;</a>
28                                 [% END %]
29                 </div>
30                 <div id="results">
31                         [% IF ( total ) %]
32                         <b>Results [% from %] to [% to %] of [% total %]</b>
33                         [% ELSE %]
34                         No results found.
35                         [% END %]
36                 </div>
37
38                         [% IF ( total ) %]
39 <div class="searchresults">
40                 <table>
41                         <tr>
42                                 <th>Authorized Headings</th>
43                                 <th>Type of Heading</th>
44                                 [% UNLESS ( isEDITORS ) %]
45                                         <th>Biblio records</th>
46                                 [% END %]
47                                 <th>Full Heading</th>                           
48                         </tr>
49                         [% FOREACH resul IN result %]
50                                 <tr>
51                                         <td>[% resul.summary %]</td>
52
53                                                 <td>
54                                         [% authtypetext %]
55                                                 </td>
56                                         [% UNLESS ( resul.isEDITORS ) %]
57                                                 <td>
58                                                          <a href="/cgi-bin/koha/opac-search.pl?type=opac&amp;op=do_search&amp;q=an=[% resul.authid %]">[% resul.used %] biblios</a>
59                                                 </td>
60                                         [% END %]
61                                                 <td>
62                                                         <a href="opac-authoritiesdetail.pl?authid=[% resul.authid %]">View Full Heading</a>
63                                                 </td>
64                                 </tr>
65                         [% END %]
66                 </table>
67         </div>
68         <div id="resultnumber">
69                         [% IF ( displayprev ) %]
70                                 <a href="opac-authorities-home.pl?startfrom=[% startfromprev %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">&lt;&lt;</a>
71                         [% END %]
72                         [% FOREACH number IN numbers %]
73                                 [% IF ( number.highlight ) %]<span class="current">[% number.number %]</span>[% ELSE %]
74                                         <a href="opac-authorities-home.pl?startfrom=[% number.startfrom %]&amp;[% FOREACH searchdat IN number.searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">[% number.number %]</a>
75                                 [% END %]
76                         [% END %]
77                         [% IF ( displaynext ) %]
78                                 <a href="opac-authorities-home.pl?startfrom=[% startfromnext %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]&amp;resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">&gt;&gt;</a>
79                                 [% END %]
80         </div>  
81                         [% END %]
82 </div>
83 </div>
84 </div>
85 </div>
86 [% IF ( OpacNav ) %]
87 <div class="yui-b">
88 <div id="leftmenus" class="container">
89 [% INCLUDE 'navigation.inc' %]
90 </div>
91 </div>[% END %]
92 </div>
93 [% INCLUDE 'opac-bottom.inc' %]