Skip to content

Commit

Permalink
fixed, list with ajax filtering and reset filters on. If the page was…
Browse files Browse the repository at this point in the history
… reloaded then the previous filter state was incorrectly reapplied
  • Loading branch information
pollen8 committed Nov 25, 2015
1 parent fa168ee commit 5e1811f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
Expand Up @@ -276,6 +276,8 @@ COM_FABRIK_FIELD_COLLATION_DESC="Alter the database tables collation. Defaults t
COM_FABRIK_FIELD_COLLATION_LABEL="Collation"
COM_FABRIK_FIELD_COMMENT_DESC="An internal memo allowing administrators to make a comment about the element's usage. Not shown in the form or view."
COM_FABRIK_FIELD_COMMENT_LABEL="Comment"
PLG_FABRIK_FORM_CONDITION_DESC="Optional PHP code. Return false to prevent the form plugin from running. Placeholders may be used."
PLG_FABRIK_FORM_CONDITION_LABEL="Condition"
COM_FABRIK_FIELD_CONNECTION_DESC=""
COM_FABRIK_FIELD_CONNECTION_LABEL="Connection"
COM_FABRIK_FIELD_CONNECTION_DESC="The Fabrik connection to use"
Expand Down
1 change: 1 addition & 0 deletions components/com_fabrik/views/list/view.base.php
Expand Up @@ -104,6 +104,7 @@ protected function getManagementJS($data = array())
$opts->links = array('detail' => $params->get('detailurl', ''), 'edit' => $params->get('editurl', ''), 'add' => $params->get('addurl', ''));
$opts->filterMethod = $this->filter_action;
$opts->advancedFilters = $model->getAdvancedFilterValues();
$opts->resetFilters = (bool) FabrikWorker::getMenuOrRequestVar('resetfilters', 0, false, 'request');
$opts->form = 'listform_' . $listRef;
$this->listref = $listRef;
$opts->headings = $model->jsonHeadings();
Expand Down

0 comments on commit 5e1811f

Please sign in to comment.