Bug 11531: make it possible to edit transport cost for a new libraries
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 13 Jan 2014 17:39:51 +0000 (12:39 -0500)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 13 Jun 2014 12:28:34 +0000 (08:28 -0400)
commita72008c3c73ed44fa48886454828f500a9450683
tree5013b290dd0a1ae3ca48b267db7f2fd88e10a708
parent747fcb30e52a2020e2bc6b5008d8f65cc52497a2
Bug 11531: make it possible to edit transport cost for a new libraries

If you are using the transport cost matrix, and you create a new
library, you cannot edit the fields for this library!

Test Plan:
1) Enable the transport cost matrix
2) Set some transport cost values in the matrix
3) Save the matrix
4) Create a new library
5) View the transport cost matrix again
6) Note the uneditable fields for the new branch
7) Apply this patch
8) View the transport cost matrix again
9) Note you can now edit the fields for the new branch

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, passes all tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 4edcec3d5812b159b7012c43a04577bfd7e462bc)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit a143dec8a0b8490ff5ebae3e72599a2e94a0a8f7)
admin/transport-cost-matrix.pl