[Koha-bugs] [Bug 23463] Move C4::Items CRUD subroutines to Koha::Item

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 2 14:32:48 CET 2019


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

--- Comment #32 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Katrin Fischer from comment #30)
> Comment on attachment 95922 [details] [review]
> Bug 23463: build cn_sort only if needed
> 
> Review of attachment 95922 [details] [review]:
> -----------------------------------------------------------------
> 
> ::: Koha/Item.pm
> @@ +74,5 @@
> >          $self->itype($self->biblio->biblioitem->itemtype);
> >      }
> >  
> > +    my %updated_columns = $self->_result->get_dirty_columns;
> > +    if ( exists $updated_columns{itemcallnumber} ) {
> 
> We should also update the cn_sort if cn_source was changed.

Indeed, thanks!

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


More information about the Koha-bugs mailing list