[Koha-bugs] [Bug 12568] Improve visibility of successful renewal via opac

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 24 23:06:13 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12568

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bgkriegel at gmail.com

--- Comment #9 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Problem seems to be related with '|' to concat/split itemnumbers,
Changing that to '_' or ':' works

perl -e ' use Data::Dumper; $a="10_20"; @b = split ("_", $a) ; print Dumper
\@b;'
$VAR1 = [
          '10',
          '20'
        ];

perl -e ' use Data::Dumper; $a="10"; @b = split ("_", $a) ; print Dumper \@b;'
$VAR1 = [
          '10'
        ];


perl -e ' use Data::Dumper; $a="10|20"; @b = split ("|", $a) ; print Dumper
\@b;'
$VAR1 = [
          '1',
          '0',
          '|',
          '2',
          '0'
        ];

-------------------> BAD !


perl -e ' use Data::Dumper; $a="10:20"; @b = split (":", $a) ; print Dumper
\@b;'
$VAR1 = [
          '10',
          '20'
        ];

Now, when fixed the button/message is a bit large and ugly, that's another
problem :)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list