Skip to content

Commit

Permalink
Merge pull request #297 from ankush-maherwal/10023
Browse files Browse the repository at this point in the history
Bug #154382 fix: The searched text stay as it is in the text search f…
  • Loading branch information
ankush-maherwal authored Dec 12, 2019
2 parents 3338753 + df89f53 commit 7cdd71c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/com_tjucm/site/models/items.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,14 @@ protected function populateState($ordering = "a.id", $direction = "DESC")

$this->setState("created_by", $createdBy);

if ($this->getUserStateFromRequest($this->context . '.filter.order', 'filter_order', '', 'string'))
if ($this->getUserStateFromRequest($this->context . $ucmType . '.filter.order', 'filter_order', '', 'string'))
{
$ordering = $this->getUserStateFromRequest($this->context . '.filter.order', 'filter_order', '', 'string');
$ordering = $this->getUserStateFromRequest($this->context . $ucmType . '.filter.order', 'filter_order', '', 'string');
}

if ($this->getUserStateFromRequest($this->context . '.filter.order_Dir', 'filter_order_Dir', '', 'string'))
if ($this->getUserStateFromRequest($this->context . $ucmType . '.filter.order_Dir', 'filter_order_Dir', '', 'string'))
{
$direction = $this->getUserStateFromRequest($this->context . '.filter.order_Dir', 'filter_order_Dir', '', 'string');
$direction = $this->getUserStateFromRequest($this->context . $ucmType . '.filter.order_Dir', 'filter_order_Dir', '', 'string');
}

// List state information.
Expand Down

0 comments on commit 7cdd71c

Please sign in to comment.