On a system not using transport cost matrix enable the preference UseTransportCostMatrix (if your test system has a matrix setup, back it up then DELETE FROM transport_cost;) and then go to Administration->Transport Cost Matrix (almost) All squares are red Click on one, enable and enter a cost Save In the DB: SELECT * FROM transport_cost; Note that all transfers are now forbidden. It should be possible to set the matrix without defaulting to no transfers allowed
Created attachment 190121 [details] [review] Bug 41360: Add toolbar of buttons for batch modifications to transport cost matrix We can add a toolbar of buttons to A) batch enable all cells B) batch populate empty cells with a value C) batch disable empty cells Test plan: 1) Apply this patch 2) Visit the TCM editor 3) Try out the 3 new buttons, verify they behave correctly
I've not used the transport cost matrix before, so am reluctant to sign off - it appears to work as expected: the new actions work, I can add values, and can also edit individually. One thing I noted is that there is the text above the table saying "Red cells signify no transfer allowed.", which is still correct. However, the transfer for the same library (for example, Centerville to Centerville) is either white or grey, where previously it was red.
Testing notes (using KTD): 1. Enable the UseTransportCostMatrix system preference. 2. Go to Administration > Patrons and circulation > Transport cost matrix.