Revert "KMAIN-1510" (excess browse dashes)
authorBill Erickson <berickxx@gmail.com>
Thu, 11 Feb 2016 20:42:49 +0000 (15:42 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
This reverts commit 6c9cae946710ed9ed828daf78480c3b3f497c6a5.

KCLS/openils/var/templates_kcls/opac/browse_results.tt2

index d9a585e..c06410a 100644 (file)
                                                 }) %]" 
                                                 onclick = "new_tab( this )" 
                                                 >
-                                                [% result.value.replace(',\s--\s(\d+)', ', $1') %]
+                                                [% result.value %]
                                               </a>  
                                         [% ELSE %]
                                             <a href="[% mkurl(
                                                 ctx.opac_root _ '/browse_items', {
                                                     'fi:has_browse_entry' => (CGI.param('qtype') _ ',' _ result.browse_entry _ ',' _ result.fields)
                                                 }) %]">
-                                                [% result.value.replace(',\s--\s(\d+)', ', $1') %]
+                                                [% result.value %]
                                             </a>
                                         [% END %]