Bug 31145: Supply defaults for vendors and funds
This is a convenience bug - when koha testing docker creates sample vendors and budgets there are small issues: 1 - The vendor website gets a random string - you can't edit the vendor without removing this 2 - The funds have random values for statistical categories, and you get empty dropdowns when choosing a fund in ordering To test: 1 - Apply patch 2 - Restart all 3 - Edit 'My vendor' 4 - note webstie is empty and you can save without changing anythign 5 - Add order to basket for my vendor 6 - Confirm that when selecting a fund statistic 1 and statistic 2 remain as text input fields Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
f58099a244
commit
b306cb47ce
1 changed files with 5 additions and 0 deletions
|
@ -601,6 +601,11 @@ sub _gen_default_values {
|
|||
Aqbookseller => {
|
||||
tax_rate => 0,
|
||||
discount => 0,
|
||||
url => undef,
|
||||
},
|
||||
Aqbudget => {
|
||||
sort1_authcat => undef,
|
||||
sort2_authcat => undef,
|
||||
},
|
||||
AuthHeader => {
|
||||
marcxml => '',
|
||||
|
|
Loading…
Reference in a new issue