koha-announce
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-announce] [BUGFIX for 2.2.3] scrolling lists


From: Paul POULAIN
Subject: [Koha-announce] [BUGFIX for 2.2.3] scrolling lists
Date: Tue, 09 Aug 2005 09:46:14 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)

Hi,

Ernesto Silva has fixed the following nasty bug (in 2.2.3) :
in MARC setup, if you have more than once a field mapped to a give
authorised value, when you duplicate a field (whatever the field), all
authorised values are defaulted to the same value. Bug still
unexplained. Don't occur if you just modify a biblio, or when you have
only once a given authorised value category.
Bug detected by EMN, that has a "LANG" authorised value for both "text
language" and "original text language".

If you encounter the problem, you can either wait for 2.2.4, or do the
following modif (Koha being installed in directory $KOHAROOT)
* open $KOHAROOT/cgi-bin/acqui.simple/addbiblio.pl
* go to line 151. It contains :
   return CGI::scrolling_list( -name     => 'field_value',
                                -values   => address@hidden,
                                -default  => $value,
                                -labels   => \%authorised_lib,
                                -size     => 1,
                                -multiple => 0 );
* add -override => 1, to have :
   return CGI::scrolling_list( -name     => 'field_value',
                                -values   => address@hidden,
                                -default  => $value,
                                -labels   => \%authorised_lib,
                                -override => 1,
                                -size     => 1,
                                -multiple => 0 );
* save this file.

That's done !
Quite a simple fix for a nasty bug !!!

--
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]