[open-ils-commits] [GIT] Evergreen ILS branch rel_2_10 updated. 022810ff439253fdb94bd128534eda64c1b50556
Evergreen Git
git at git.evergreen-ils.org
Wed Aug 10 10:35:52 EDT 2016
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_2_10 has been updated
via 022810ff439253fdb94bd128534eda64c1b50556 (commit)
from 66ee8ab4580604b2d7a88ec902f5654fab8018f6 (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 022810ff439253fdb94bd128534eda64c1b50556
Author: Dan Wells <dbw2 at calvin.edu>
Date: Tue Aug 9 15:50:50 2016 -0400
LP#1611495 Don't use .xml for MARC21 files in Vandelay Export
The new 'Export Non-imported Records' feature in Vandelay (see bug
LP#1548147) was tweaked before merge to export MARC21 files by default
(rather than MARC-XML). However, the file save dialog still defaults to
(and filters by) ".xml" for the file extension. This is confusing and
otherwise problematic.
Let's go ahead and save the export using a ".mrc" extension instead.
While not an official extension (as far as I know), it is widely used,
easy to understand, and far less likely to cause issues with other
software.
Signed-off-by: Dan Wells <dbw2 at calvin.edu>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
diff --git a/Open-ILS/web/js/ui/default/vandelay/vandelay.js b/Open-ILS/web/js/ui/default/vandelay/vandelay.js
index ba2cbee..928ef05 100644
--- a/Open-ILS/web/js/ui/default/vandelay/vandelay.js
+++ b/Open-ILS/web/js/ui/default/vandelay/vandelay.js
@@ -578,10 +578,10 @@ function vlExportRecordQueue(opts) {
if (req.readyState == 4) {
var file_tag = opts.nonimported ? '_nonimported' : '';
openils.XUL.contentToFileSaveDialog(req.responseText, null, {
- defaultString : currentQueueName + file_tag + '.xml',
- defaultExtension : '.xml',
- filterName : 'XML',
- filterExtension : '*.xml',
+ defaultString : currentQueueName + file_tag + '.mrc',
+ defaultExtension : '.mrc',
+ filterName : 'MARC21',
+ filterExtension : '*.mrc',
filterAll : true
} );
}
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/web/js/ui/default/vandelay/vandelay.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list