https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17809

--- Comment #17 from Fridolin SOMERS <[email protected]> ---
(In reply to Katrin Fischer from comment #16)
> I am worried about the atomicupdate - it looks like only checks for the
> authorised value code, but not for the category, so this might lead to wrong
> warning messages. Some of those codes look like classifications we might
> have as collections in our databases for example.
> 
> 
> +    my $number_cc = $schema->resultset('AuthorisedValue')->search(
> +        {
> +            authorised_value => 'CC'
> +        }
> +    )->count;
> +    if ( $number_cc > 1 ) {

Ideed.
M. Tompsett can you work on it ?
I do it if you want.

-- 
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