-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10029 from andrepereiradasilva/com_finder-filters…
…-searchtools [com_finder] filters view: searchtools ordering, bug corrections and some improvements
- Loading branch information
Showing
5 changed files
with
109 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 48 additions & 29 deletions
77
administrator/components/com_finder/models/forms/filter_filters.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,51 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<form> | ||
<fields name="filter"> | ||
<field | ||
name="search" | ||
type="text" | ||
label="COM_FINDER_FILTER_SEARCH_DESC" | ||
hint="JSEARCH_FILTER" | ||
/> | ||
<field | ||
name="state" | ||
type="status" | ||
filter="*,0,1" | ||
label="COM_FINDER_FILTER_PUBLISHED" | ||
description="COM_FINDER_FILTER_PUBLISHED_DESC" | ||
onchange="this.form.submit();" | ||
> | ||
<option value="">JOPTION_SELECT_PUBLISHED</option> | ||
</field> | ||
</fields> | ||
<fields name="list"> | ||
<field | ||
name="limit" | ||
type="limitbox" | ||
class="input-mini" | ||
default="25" | ||
label="COM_FINDER_LIST_LIMIT" | ||
description="COM_FINDER_LIST_LIMIT_DESC" | ||
onchange="this.form.submit();" | ||
/> | ||
</fields> | ||
<fields name="filter"> | ||
<field | ||
name="search" | ||
type="text" | ||
label="COM_FINDER_SEARCH_FILTER_SEARCH_LABEL" | ||
description="COM_FINDER_SEARCH_FILTER_SEARCH_DESC" | ||
hint="JSEARCH_FILTER" | ||
/> | ||
<field | ||
name="state" | ||
type="status" | ||
filter="0,1" | ||
label="COM_FINDER_FILTER_PUBLISHED" | ||
description="COM_FINDER_FILTER_PUBLISHED_DESC" | ||
onchange="this.form.submit();" | ||
> | ||
<option value="">JOPTION_SELECT_PUBLISHED</option> | ||
</field> | ||
</fields> | ||
<fields name="list"> | ||
<field | ||
name="fullordering" | ||
type="list" | ||
onchange="this.form.submit();" | ||
default="a.title ASC" | ||
> | ||
<option value="">JGLOBAL_SORT_BY</option> | ||
<option value="a.state ASC">JSTATUS_ASC</option> | ||
<option value="a.state DESC">JSTATUS_DESC</option> | ||
<option value="a.title ASC">JGLOBAL_TITLE_ASC</option> | ||
<option value="a.title DESC">JGLOBAL_TITLE_DESC</option> | ||
<option value="a.created_by_alias ASC">COM_FINDER_HEADING_CREATED_BY_ASC</option> | ||
<option value="a.created_by_alias DESC">COM_FINDER_HEADING_CREATED_BY_DESC</option> | ||
<option value="a.created ASC">COM_FINDER_HEADING_CREATED_ON_ASC</option> | ||
<option value="a.created DESC">COM_FINDER_HEADING_CREATED_ON_DESC</option> | ||
<option value="a.map_count ASC">COM_FINDER_HEADING_MAP_COUNT_ASC</option> | ||
<option value="a.map_count DESC">COM_FINDER_HEADING_MAP_COUNT_DESC</option> | ||
<option value="a.filter_id ASC">JGRID_HEADING_ID_ASC</option> | ||
<option value="a.filter_id DESC">JGRID_HEADING_ID_DESC</option> | ||
</field> | ||
<field | ||
name="limit" | ||
type="limitbox" | ||
class="input-mini" | ||
default="25" | ||
onchange="this.form.submit();" | ||
/> | ||
</fields> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters