[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 13:17:41 CET 2019


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

--- Comment #30 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Comment on attachment 95922
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95922
Bug 23463: build cn_sort only if needed

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

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

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


More information about the Koha-bugs mailing list