- Affected version
- all
xfrm/cp/overview
public function getResourceFilterInput()
at the end $filters is empty, when last_update, desc (defaults)
and not empty for last_update, asc and all others
Code:
//if ($input['order'] != $defaultOrder || $input['direction'] != $defaultDir)
if (1==1)
{
$filters['order'] = $input['order'];
$filters['direction'] = $input['direction'];
}
When filters == default and dir = default, we dont pass filters back.
But why XF should do this? Why we give infos about every filter, but not about the default one?
Makes no sense to me.
Also it is a hint for users that there is {something with filters}, i am shure that really a lot of people have no idea, that there are filters to use. (If we dont talk about webmasters looking for addons)
public function getResourceFilterInput()
at the end $filters is empty, when last_update, desc (defaults)
and not empty for last_update, asc and all others
Code:
//if ($input['order'] != $defaultOrder || $input['direction'] != $defaultDir)
if (1==1)
{
$filters['order'] = $input['order'];
$filters['direction'] = $input['direction'];
}
When filters == default and dir = default, we dont pass filters back.
But why XF should do this? Why we give infos about every filter, but not about the default one?
Makes no sense to me.
Also it is a hint for users that there is {something with filters}, i am shure that really a lot of people have no idea, that there are filters to use. (If we dont talk about webmasters looking for addons)