m_filters = []
redrawNavi();
resetPage();
- loadSelect();
triggerSearch(query, sortOrder, targets);
switchView('records'); // In case it's configured to start off as hidden
m_submitted = true;
m_sortOrder = findnode('.mkwsSort').val();
if (!m_submitted) return false;
resetPage();
- loadSelect();
m_paz.show(0, m_perpage, m_sortOrder);
return false;
}
m_perpage = findnode('.mkwsPerpage').val();
if (!m_submitted) return false;
resetPage();
- loadSelect();
m_paz.show(0, m_perpage, m_sortOrder);
return false;
}
}
- function loadSelect ()
- {
- var node = findnode('.mkwsSort');
- if (node.length && node.val() != m_sortOrder) {
- alert("m_sortOrder '" + m_sortOrder + "' != node.val() '" + node.val() + "'");
- }
- node = findnode('.mkwsPerpage');
- if (node.length && node.val() != m_perpage) {
- alert("m_perpage '" + m_perpage + "' != node.val() '" + node.val() + "'");
- }
- }
-
-
function triggerSearch (query, sortOrder, targets)
{
var pp2filter = "";
m_filters.push({ id: id, name: name });
redrawNavi();
resetPage();
- loadSelect();
triggerSearch();
return false;
}
m_filters.push({ field: field, value: value });
redrawNavi();
resetPage();
- loadSelect();
triggerSearch();
return false;
}
redrawNavi();
resetPage();
- loadSelect();
triggerSearch();
return false;
}
redrawNavi();
resetPage();
- loadSelect();
triggerSearch();
return false;
}