From: Dan Scott <dscott@laurentian.ca>
Date: Thu, 8 Sep 2016 17:22:59 +0000 (-0400)
Subject: Quick hack to default to 2019 for acquisitions
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b30bccfcb2b171802fc53febca2e25e5ac976951;p=contrib%2FConifer.git

Quick hack to default to 2019 for acquisitions

Having a financial year that doesn't run from January to December can be
annoying.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
---

diff --git a/Open-ILS/web/js/ui/default/acq/financial/list_funds.js b/Open-ILS/web/js/ui/default/acq/financial/list_funds.js
index 0d2f7de063..fea10a7e7e 100644
--- a/Open-ILS/web/js/ui/default/acq/financial/list_funds.js
+++ b/Open-ILS/web/js/ui/default/acq/financial/list_funds.js
@@ -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(