[Koha-devel] Patch for Koha 2.2.0RC2

Andrés Tarallo tarallo at ort.edu.uy
Mon Nov 22 08:09:07 CET 2004


When you display the detail of a biblio the word subject (in bold) 
doesnt appears, it just appears the subjects. However with my patch this 
word appears.

Maybe someone with a deeper knowldge of html templates can give a more 
elegant solution, this one just works ;).

Andres



Paul POULAIN wrote:

> [..]
>
>> ------------------------------------------------------------------------
>>
>> --- opac-detail.pl.original    2004-11-22 10:44:45.961235720 -0300
>> +++ opac-detail.pl    2004-11-22 10:45:42.784597256 -0300
>> @@ -21,6 +21,8 @@
>>
>> my $biblionumber=$query->param('bib');
>> $template->param(biblionumber => $biblionumber);
>> +# 2004-11-22 A. Tarallo The Subject was missing.
>> +$template->param(subject => "");
>>  
>>
> I don't understand what it does : it just hide (in opac-main.tmpl) the :
>                <!-- TMPL_IF name="subject" --><b>Subject:</b><!-- 
> /TMPL_IF -->
>
> So I think it's better to change this line into
>                <!-- TMPL_IF name="subjects" --><b>Subject(s):</b><!-- 
> /TMPL_IF -->
> to have "Subject(s): " before the subjects when there is at least one.
>
> Your opinion ?
>





More information about the Koha-devel mailing list