Quick hack to default to 2019 for acquisitions
authorDan Scott <dscott@laurentian.ca>
Thu, 8 Sep 2016 17:22:59 +0000 (13:22 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 25 May 2018 21:25:46 +0000 (17:25 -0400)
Having a financial year that doesn't run from January to December can be
annoying.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/web/js/ui/default/acq/financial/list_funds.js

index 0d2f7de..fea10a7 100644 (file)
@@ -175,7 +175,8 @@ function loadYearSelector() {
                 fundFilterYearSelect.setValue(
                     // propagate year from URL if available
                     lfGrid.urlUserData.year ||
-                        new Date().getFullYear().toString()
+                        // new Date().getFullYear().toString()
+                        '2019
                 );
 
                 dojo.connect(