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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt (-3 / +7 lines)
Lines 64-74 Link Here
64
                                    [% FOREACH results_loo IN results_loop %]
64
                                    [% FOREACH results_loo IN results_loop %]
65
                                        <tr>
65
                                        <tr>
66
                                            <td><a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% results_loo.biblionumber %]">[% results_loo.title |html %]</a><p>[% results_loo.author %]
66
                                            <td><a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% results_loo.biblionumber %]">[% results_loo.title |html %]</a><p>[% results_loo.author %]
67
                                            [% IF ( results_loo.publicationyear ) %] - [% results_loo.publicationyear %][% END %]
68
                                            [% IF ( results_loo.publishercode ) %]- [% results_loo.publishercode %][% END %] [% IF ( results_loo.seriestitle ) %]([% results_loo.seriestitle %])[% END %]
67
                                            [% IF ( results_loo.publishercode ) %]- [% results_loo.publishercode %][% END %] [% IF ( results_loo.seriestitle ) %]([% results_loo.seriestitle %])[% END %]
69
                                            [% IF ( results_loo.place ) %] ; [% results_loo.place %][% END %]
68
                                            [% IF ( results_loo.place ) %][% results_loo.place %][% END %]
69
                                            [% IF ( results_loo.publicationyear ) %]
70
                                                [% results_loo.publicationyear %]
71
                                            [% ELSIF ( results_loo.copyrightdate ) %]
72
                                                [% results_loo.copyrightdate %]
73
                                            [% END %]
70
                                            [% IF ( results_loo.pages ) %] - [% results_loo.pages %][% END %]
74
                                            [% IF ( results_loo.pages ) %] - [% results_loo.pages %][% END %]
71
                                            [% IF ( results_loo.size ) %] ; [% results_loo.size %][% END %]</p>
75
                                            [% IF ( results_loo.size ) %][% results_loo.size %][% END %]</p>
72
                                            </td>
76
                                            </td>
73
                                            <td>
77
                                            <td>
74
                                                [% IF ( results_loo.description ) %]
78
                                                [% IF ( results_loo.description ) %]
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt (-3 / +7 lines)
Lines 72-82 function Dopop(link) { Link Here
72
                <tbody>[% FOREACH results_loo IN results_loop %]
72
                <tbody>[% FOREACH results_loo IN results_loop %]
73
                    <tr>
73
                    <tr>
74
                        <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% results_loo.biblionumber %]">[% results_loo.title |html %]</a><p>[% results_loo.author %]
74
                        <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% results_loo.biblionumber %]">[% results_loo.title |html %]</a><p>[% results_loo.author %]
75
                        [% IF ( results_loo.publicationyear ) %] - [% results_loo.publicationyear %][% END %]
76
                        [% IF ( results_loo.publishercode ) %]- [% results_loo.publishercode %][% END %] [% IF ( results_loo.seriestitle ) %]([% results_loo.seriestitle %])[% END %]
75
                        [% IF ( results_loo.publishercode ) %]- [% results_loo.publishercode %][% END %] [% IF ( results_loo.seriestitle ) %]([% results_loo.seriestitle %])[% END %]
77
                        [% IF ( results_loo.place ) %] ; [% results_loo.place %][% END %]
76
                        [% IF ( results_loo.place ) %][% results_loo.place %][% END %]
77
                        [% IF ( results_loo.publicationyear ) %]
78
                            [% results_loo.publicationyear %]
79
                        [% ELSIF ( results_loo.copyrightdate ) %]
80
                            [% results_loo.copyrightdate %]
81
                        [% END %]
78
                        [% IF ( results_loo.pages ) %] - [% results_loo.pages %][% END %]
82
                        [% IF ( results_loo.pages ) %] - [% results_loo.pages %][% END %]
79
                        [% IF ( results_loo.size ) %] ; [% results_loo.size %][% END %]</p>
83
                        [% IF ( results_loo.size ) %][% results_loo.size %][% END %]</p>
80
                        </td>
84
                        </td>
81
                        <td>[% results_loo.description %]</td>
85
                        <td>[% results_loo.description %]</td>
82
                        <td>[% results_loo.tot %]</td>
86
                        <td>[% results_loo.tot %]</td>
(-)a/opac/opac-topissues.pl (-5 / +4 lines)
Lines 81-88 if($advanced_search_types eq 'ccode'){ Link Here
81
    $whereclause .= ' AND authorised_values.authorised_value='.$dbh->quote($itemtype) if $itemtype;
81
    $whereclause .= ' AND authorised_values.authorised_value='.$dbh->quote($itemtype) if $itemtype;
82
    $query = "SELECT datecreated, biblio.biblionumber, title,
82
    $query = "SELECT datecreated, biblio.biblionumber, title,
83
                    author, sum( items.issues ) AS tot, biblioitems.itemtype,
83
                    author, sum( items.issues ) AS tot, biblioitems.itemtype,
84
                    biblioitems.publishercode,biblioitems.publicationyear,
84
                    biblioitems.publishercode, biblioitems.place, biblioitems.publicationyear, biblio.copyrightdate,
85
                    authorised_values.lib as description
85
                    authorised_values.lib as description, biblioitems.pages, biblioitems.size
86
                    FROM biblio
86
                    FROM biblio
87
                    LEFT JOIN items USING (biblionumber)
87
                    LEFT JOIN items USING (biblionumber)
88
                    LEFT JOIN biblioitems USING (biblionumber)
88
                    LEFT JOIN biblioitems USING (biblionumber)
Lines 107-114 if($advanced_search_types eq 'ccode'){ Link Here
107
    }
107
    }
108
    $query = "SELECT datecreated, biblio.biblionumber, title,
108
    $query = "SELECT datecreated, biblio.biblionumber, title,
109
                    author, sum( items.issues ) AS tot, biblioitems.itemtype,
109
                    author, sum( items.issues ) AS tot, biblioitems.itemtype,
110
                    biblioitems.publishercode,biblioitems.publicationyear,
110
                    biblioitems.publishercode, biblioitems.place, biblioitems.publicationyear, biblio.copyrightdate,
111
                    itemtypes.description
111
                    itemtypes.description, biblioitems.pages, biblioitems.size
112
                    FROM biblio
112
                    FROM biblio
113
                    LEFT JOIN items USING (biblionumber)
113
                    LEFT JOIN items USING (biblionumber)
114
                    LEFT JOIN biblioitems USING (biblionumber)
114
                    LEFT JOIN biblioitems USING (biblionumber)
115
- 

Return to bug 11692