[open-ils-commits] [GIT] Evergreen ILS branch rel_3_3 updated. 859394f26cccd687c0a314879bf077d3dc32c2e4
Evergreen Git
git at git.evergreen-ils.org
Fri Aug 2 12:47:00 EDT 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_3_3 has been updated
via 859394f26cccd687c0a314879bf077d3dc32c2e4 (commit)
via 6c278ac35a12fb5b036fb8f013e0e8c558a84141 (commit)
from 2a6fae73b7cbeb483885eb108867c2360da5ab28 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 859394f26cccd687c0a314879bf077d3dc32c2e4
Author: Galen Charlton <gmc at equinoxinitiative.org>
Date: Fri Aug 2 12:44:16 2019 -0400
LP#1329920: (follow-up) set searchFormat as well
AutoFieldWidget's searchFormat (among other things) controls
the formatting of the selected value for a drop-down, so
this patch sets it for funds as well. This patch also tidys
up whitespace.
Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>
diff --git a/Open-ILS/web/js/ui/default/conify/global/acq/distribution_formula.js b/Open-ILS/web/js/ui/default/conify/global/acq/distribution_formula.js
index 2a44917790..1b5b9acf77 100644
--- a/Open-ILS/web/js/ui/default/conify/global/acq/distribution_formula.js
+++ b/Open-ILS/web/js/ui/default/conify/global/acq/distribution_formula.js
@@ -17,7 +17,6 @@ var _collection_code_kludge_active = false;
var fundSearchFilter = {active : 't'};
var fundLabelFormat = ['${0} (${1})', 'code', 'year'];
-
function gridDataLoader() {
fListGrid.resetStore();
fListGrid.showLoadProgressIndicator();
@@ -167,7 +166,8 @@ function addEntry(entry) {
fmField : field,
fmObject : entry,
fmClass : 'acqdfe',
- labelFormat: (field == 'fund') ? fundLabelFormat : null,
+ labelFormat: (field == 'fund') ? fundLabelFormat : null,
+ searchFormat: (field == 'fund') ? fundLabelFormat : null,
searchFilter : (field == 'fund') ? fundSearchFilter : null,
parentNode : byName(row, field),
orgDefaultsToWs : true,
commit 6c278ac35a12fb5b036fb8f013e0e8c558a84141
Author: Tiffany Little <tlittle at georgialibraries.org>
Date: Fri Jan 18 15:54:27 2019 -0500
LP#1329920 Add fund year to distribution formula fund dropdown menu
In distribution formulas, adds the fund year in parentheses to the
funds listed in the Fund drop-down menu.
Signed-off-by: Tiffany Little <tlittle at georgialibraries.org>
Signed-off-by: Kyle Huckins <khuckins at catalyte.io>
Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>
diff --git a/Open-ILS/web/js/ui/default/conify/global/acq/distribution_formula.js b/Open-ILS/web/js/ui/default/conify/global/acq/distribution_formula.js
index 41bac335de..2a44917790 100644
--- a/Open-ILS/web/js/ui/default/conify/global/acq/distribution_formula.js
+++ b/Open-ILS/web/js/ui/default/conify/global/acq/distribution_formula.js
@@ -15,6 +15,8 @@ var pcrud;
var _collection_code_textboxes = [];
var _collection_code_kludge_active = false;
var fundSearchFilter = {active : 't'};
+var fundLabelFormat = ['${0} (${1})', 'code', 'year'];
+
function gridDataLoader() {
fListGrid.resetStore();
@@ -165,6 +167,7 @@ function addEntry(entry) {
fmField : field,
fmObject : entry,
fmClass : 'acqdfe',
+ labelFormat: (field == 'fund') ? fundLabelFormat : null,
searchFilter : (field == 'fund') ? fundSearchFilter : null,
parentNode : byName(row, field),
orgDefaultsToWs : true,
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/web/js/ui/default/conify/global/acq/distribution_formula.js | 3 +++
1 file changed, 3 insertions(+)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list