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

Bernardo Gonzalez Kriegel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #9 from Bernardo Gonzalez Kriegel <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to