Koha/installer/data/mysql/en/optional/parameters.sql
Zeno Tajoli 6a5c2d5181 Bug 11939: set active currency when using English sample data
This patch offers a better default for currencies,
with USA dollar as default active currency.

To test the patch:
1)Install master without the patch, during web installation
select 'parameters.sql' file
2)Finish install and go to Administration -Currencies & Exchange rates
3)No active currency

4)Install master with this patch, during web installation
 select 'parameters.sql' file
5)Finish install and go to Administration -Currencies & Exchange rates
6)Now USA dollar is the active currency

NOTE: This does solve the problem of everything being NULL for active,
      and lacking an active value. It also corrects the description
      of the optional item to check related to currencies.

Signed-off-by: Mark Tompsett <mtompset@hotmail.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>
2014-03-25 15:02:01 +00:00

5 lines
173 B
SQL

INSERT INTO `currency` (currency, rate, symbol, active) VALUES
('USD', 1.0, '$', '1'),
('GBP', 1.9929, '£', '0'),
('CAD', 1.02207, '$', '0'),
('EUR', .874003, '', '0');