Petro Vashchuk has identified a bug in the in_transit method. We should also filter out cancelled transfers.
Created attachment 118539 [details] [review] Bug 27993: Add unit tests This patch adds a unit test to check that 'in_transit' takes datecancelled into account.
Created attachment 118540 [details] [review] Bug 27993: Add handling for datecancelled in in_transit This patch adds handling for the datecancelled field in the in_transit method. Test plan 1/ Run the new unit test in t/db_dependent/Koha/Item/Transfer.t
Created attachment 118578 [details] [review] Bug 27993: Add handling for datecancelled in in_transit This patch adds handling for the datecancelled field in the in_transit method. Test plan 1/ Run the new unit test in t/db_dependent/Koha/Item/Transfer.t Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com>
Created attachment 118586 [details] [review] Bug 27993: Add unit tests This patch adds a unit test to check that 'in_transit' takes datecancelled into account. Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com>
Created attachment 118587 [details] [review] Bug 27993: Add handling for datecancelled in in_transit This patch adds handling for the datecancelled field in the in_transit method. Test plan 1/ Run the new unit test in t/db_dependent/Koha/Item/Transfer.t Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com>
Created attachment 118588 [details] [review] Bug 27993: Add unit tests This patch adds a unit test to check that 'in_transit' takes datecancelled into account. Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com> Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Created attachment 118589 [details] [review] Bug 27993: Add handling for datecancelled in in_transit This patch adds handling for the datecancelled field in the in_transit method. Test plan 1/ Run the new unit test in t/db_dependent/Koha/Item/Transfer.t Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com> Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Pushed to master for 21.05, thanks to everybody involved!
Depends on Bug 26481 not in 20.11.x