From df741d8f2e9fc1e083c674431e44867c3ef975a7 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 7 Feb 2014 15:11:15 +0000 Subject: [PATCH] Swap order of that.limitTarget() and limitQuery() --- tools/htdocs/mkws.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index c79c1e0..7747094 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -542,11 +542,11 @@ function team($, teamName) { } - // limit the query after clicking the facet - that.limitQuery = function (field, value) + // limit by target functions + that.limitTarget = function (id, name) { - debug("limitQuery(field=" + field + ", value=" + value + ")"); - m_filters.push({ field: field, value: value }); + debug("limitTarget(id=" + id + ", name=" + name + ")"); + m_filters.push({ id: id, name: name }); redraw_navi(); resetPage(); loadSelect(); @@ -555,11 +555,11 @@ function team($, teamName) { } - // limit by target functions - that.limitTarget = function (id, name) + // limit the query after clicking the facet + that.limitQuery = function (field, value) { - debug("limitTarget(id=" + id + ", name=" + name + ")"); - m_filters.push({ id: id, name: name }); + debug("limitQuery(field=" + field + ", value=" + value + ")"); + m_filters.push({ field: field, value: value }); redraw_navi(); resetPage(); loadSelect(); -- 1.7.10.4