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

--- Comment #12 from Jonathan Druart <[email protected]> 
---
Comment on attachment 99980
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99980
Bug 21591: Check for record level item type issues too

Review of attachment 99980:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=21591&attachment=99980)
-----------------------------------------------------------------

::: misc/maintenance/search_for_data_inconsistencies.pl
@@ +89,4 @@
>  
>      my @itemtypes = Koha::ItemTypes->search->get_column('itemtype');
>      if ( C4::Context->preference('item-level_itypes') ) {
> +        my $items_with_invalid_itype = Koha::Items->search( { -and => [itype 
> => { not_in => \@itemtypes }, itype => { '!=' => '' }] } );

I do not think we need that change. @itemtypes contains the values from the
itemtypes table.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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