fixing authority validation with the new input/output methods for the gateway
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 24 Jan 2008 18:31:05 +0000 (18:31 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 24 Jan 2008 18:31:05 +0000 (18:31 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@8496 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/marcedit.js

index 443004e..49d87c9 100644 (file)
@@ -1842,7 +1842,7 @@ function validateAuthority (button) {
 
 
 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 += '&param="term"&param="' + term + '"';
        url += '&param="limit"&param=' + limit;
        url += '&param="tag"&param=' + tag;