Refactored the setFilterFields and setStoredId in the compiler as still part of the new filter option improvement. gh-378

This commit is contained in:
2020-11-21 08:01:26 +02:00
parent 2490123095
commit 5db5ac7bbb
23 changed files with 291 additions and 266 deletions

View File

@ -29,11 +29,11 @@ class ComponentbuilderModelSnippets extends JModelList
'a.ordering','ordering',
'a.created_by','created_by',
'a.modified_by','modified_by',
'g.name','type',
'h.name','library',
'a.name','name',
'a.url','url',
'g.name',
'a.heading','heading',
'h.name'
'a.heading','heading'
);
}
@ -478,11 +478,11 @@ class ComponentbuilderModelSnippets extends JModelList
$id .= ':' . $this->getState('filter.ordering');
$id .= ':' . $this->getState('filter.created_by');
$id .= ':' . $this->getState('filter.modified_by');
$id .= ':' . $this->getState('filter.type');
$id .= ':' . $this->getState('filter.library');
$id .= ':' . $this->getState('filter.name');
$id .= ':' . $this->getState('filter.url');
$id .= ':' . $this->getState('filter.type');
$id .= ':' . $this->getState('filter.heading');
$id .= ':' . $this->getState('filter.library');
$id .= ':' . $this->getState('filter.heading');
return parent::getStoreId($id);
}