[open-ils-commits] r8490 -
branches/rel_1_2_1/Open-ILS/xul/staff_client/server/cat
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 24 11:52:10 EST 2008
Author: miker
Date: 2008-01-24 11:25:30 -0500 (Thu, 24 Jan 2008)
New Revision: 8490
Modified:
branches/rel_1_2_1/Open-ILS/xul/staff_client/server/cat/marcedit.js
Log:
fixing authority validation with the new input/output methods for the gateway
Modified: branches/rel_1_2_1/Open-ILS/xul/staff_client/server/cat/marcedit.js
===================================================================
--- branches/rel_1_2_1/Open-ILS/xul/staff_client/server/cat/marcedit.js 2008-01-24 04:04:17 UTC (rev 8489)
+++ branches/rel_1_2_1/Open-ILS/xul/staff_client/server/cat/marcedit.js 2008-01-24 16:25:30 UTC (rev 8490)
@@ -1842,13 +1842,12 @@
function searchAuthority (term, tag, sf, limit) {
- var url = "/gateway?format=xml&service=open-ils.search&method=open-ils.search.authority.fts";
+ var url = "/gateway?input_format=json&format=xml&service=open-ils.search&method=open-ils.search.authority.fts";
url += '¶m="term"¶m="' + term + '"';
url += '¶m="limit"¶m=' + limit;
url += '¶m="tag"¶m=' + tag;
url += '¶m="subfield"¶m="' + sf + '"';
-
var req = new XMLHttpRequest();
req.open('GET',url,false);
req.send(null);
More information about the open-ils-commits
mailing list