X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-team.js;h=92536f197c41f10296d8335bf46f99d0393fe25f;hb=f7781746145de7c7d226a6abbbf8547906e3e7d7;hp=ead2f0311faff02717ca0bcb0f462b732767a3b7;hpb=696d1d9e680bfb287e5347134768f5d0e8c10567;p=mkws-moved-to-github.git diff --git a/src/mkws-team.js b/src/mkws-team.js index ead2f03..92536f1 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -41,6 +41,7 @@ function team($, teamName) { that.submitted = function() { return m_submitted; }; that.sortOrder = function() { return m_sortOrder; }; that.perpage = function() { return m_perpage; }; + that.query = function() { return m_query; }; that.totalRecordCount = function() { return m_totalRecordCount; }; that.currentPage = function() { return m_currentPage; }; that.currentRecordId = function() { return m_currentRecordId; }; @@ -95,7 +96,7 @@ function team($, teamName) { // then register the form submit event with the pz2.search function // autoInit is set to true on default m_paz = new pz2({ "windowid": teamName, - "pazpar2path": config.pazpar2_url, + "pazpar2path": mkws.pazpar2_url(), "usesessions" : config.use_service_proxy ? false : true, "oninit": onInit, "onbytarget": onBytarget,