Skip to content

Commit

Permalink
Merge pull request #25 from NPman/fix_popup_list_filter
Browse files Browse the repository at this point in the history
Баг при установке фильтра в popup списке
  • Loading branch information
ASGAlex committed Apr 20, 2016
2 parents 8e1aeed + bca15c2 commit 2b9a118
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/helper/AdminListHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -1336,6 +1336,12 @@ protected function getFooter($res)
*/
public function createFilterForm()
{
//нужно пробрасывать параметр popup в форму, если она является таковой
if($this->isPopup())
{
$this->additionalUrlParams['popup'] = 'Y';
}

$this->setContext(AdminListHelper::OP_CREATE_FILTER_FORM);
print ' <form name="find_form" method="GET" action="' . static::getUrl($this->additionalUrlParams) . '?">';

Expand Down

0 comments on commit 2b9a118

Please sign in to comment.