update name of form identifier for table filters
This commit is contained in:
parent
6dbf8916a5
commit
6a1e49bd49
@ -34,7 +34,7 @@
|
|||||||
options = options || {};
|
options = options || {};
|
||||||
var tableIdent = options.dbtIdent;
|
var tableIdent = options.dbtIdent;
|
||||||
|
|
||||||
var formId = formElement.querySelector('[name="_formid"]').value;
|
var formId = formElement.querySelector('[name="form-identifier"]').value;
|
||||||
var inputs = {
|
var inputs = {
|
||||||
search: [],
|
search: [],
|
||||||
input: [],
|
input: [],
|
||||||
@ -127,7 +127,7 @@
|
|||||||
|
|
||||||
function serializeFormToURL() {
|
function serializeFormToURL() {
|
||||||
var url = new URL(options.currentUrl || window.location.href);
|
var url = new URL(options.currentUrl || window.location.href);
|
||||||
url.searchParams.set('_formid', formId);
|
url.searchParams.set('form-identifier', formId);
|
||||||
url.searchParams.set('_hasdata', 'true');
|
url.searchParams.set('_hasdata', 'true');
|
||||||
url.searchParams.set(tableIdent + '-page', '0');
|
url.searchParams.set(tableIdent + '-page', '0');
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user