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

Tomás Cohen Arazi <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart+koha@gmail.
                   |                            |com,
                   |                            |martin.renvoize@ptfs-europe
                   |                            |.com,
                   |                            |[email protected],
                   |                            |[email protected]
            Summary|Enhance                     |Koha::Item->safe_to_delete
                   |Koha::Item->safe_to_delete  |should short-circuit
                   |                            |earlier
             Status|NEW                         |Needs Signoff
           Assignee|[email protected] |[email protected]
                   |ity.org                     |

--- Comment #1 from Tomás Cohen Arazi <[email protected]> ---
Koha::Item->safe_to_delete checks 5 conditions, most of which involve querying
the DB. It should return right after one condition is met, but it keeps
checking the rest of them.

This can be particularyl painful on batch deletions. And is incorrect
regardless.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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