-
-
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.
[admin menus] Correcting filters and sorting
- Loading branch information
1 parent
af1e590
commit 602f259
Showing
3 changed files
with
121 additions
and
10 deletions.
There are no files selected for viewing
91 changes: 91 additions & 0 deletions
91
administrator/components/com_menus/models/forms/filter_itemsadmin.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 |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<form> | ||
<field | ||
name="client_id" | ||
type="list" | ||
label="" | ||
filtermode="selector" | ||
onchange="this.form.submit();" | ||
> | ||
<option value="0">JSITE</option> | ||
<option value="1">JADMINISTRATOR</option> | ||
</field> | ||
<field | ||
name="menutype" | ||
type="menu" | ||
label="COM_MENUS_FILTER_CATEGORY" | ||
description="JOPTION_FILTER_CATEGORY_DESC" | ||
accesstype="manage" | ||
clientid="" | ||
showAll="false" | ||
filtermode="selector" | ||
onchange="this.form.submit();" | ||
> | ||
<option value="">COM_MENUS_SELECT_MENU</option> | ||
</field> | ||
<fields name="filter"> | ||
<field | ||
name="search" | ||
type="text" | ||
label="COM_MENUS_ITEMS_SEARCH_FILTER_LABEL" | ||
description="COM_MENUS_ITEMS_SEARCH_FILTER" | ||
hint="JSEARCH_FILTER" | ||
noresults="JGLOBAL_NO_MATCHING_RESULTS" | ||
/> | ||
<field | ||
name="published" | ||
type="status" | ||
label="COM_MENUS_FILTER_PUBLISHED" | ||
description="COM_MENUS_FILTER_PUBLISHED_DESC" | ||
filter="*,0,1,-2" | ||
onchange="this.form.submit();" | ||
> | ||
<option value="">JOPTION_SELECT_PUBLISHED</option> | ||
</field> | ||
<field | ||
name="level" | ||
type="integer" | ||
label="JOPTION_FILTER_LEVEL" | ||
description="JOPTION_FILTER_LEVEL_DESC" | ||
first="1" | ||
last="10" | ||
step="1" | ||
languages="*" | ||
onchange="this.form.submit();" | ||
> | ||
<option value="">JOPTION_SELECT_MAX_LEVELS</option> | ||
</field> | ||
</fields> | ||
<fields name="list"> | ||
<field | ||
name="fullordering" | ||
type="list" | ||
label="JGLOBAL_SORT_BY" | ||
description="JGLOBAL_SORT_BY" | ||
statuses="*,0,1,2,-2" | ||
onchange="this.form.submit();" | ||
default="a.lft ASC" | ||
> | ||
<option value="">JGLOBAL_SORT_BY</option> | ||
<option value="a.lft ASC">JGRID_HEADING_ORDERING_ASC</option> | ||
<option value="a.lft DESC">JGRID_HEADING_ORDERING_DESC</option> | ||
<option value="a.published ASC">JSTATUS_ASC</option> | ||
<option value="a.published DESC">JSTATUS_DESC</option> | ||
<option value="a.title ASC">JGLOBAL_TITLE_ASC</option> | ||
<option value="a.title DESC">JGLOBAL_TITLE_DESC</option> | ||
<option value="menutype_title ASC">COM_MENUS_HEADING_MENU_ASC</option> | ||
<option value="menutype_title DESC">COM_MENUS_HEADING_MENU_DESC</option> | ||
<option value="a.id ASC">JGRID_HEADING_ID_ASC</option> | ||
<option value="a.id DESC">JGRID_HEADING_ID_DESC</option> | ||
</field> | ||
<field | ||
name="limit" | ||
type="limitbox" | ||
label="COM_MENUS_LIST_LIMIT" | ||
description="COM_MENUS_LIST_LIMIT_DESC" | ||
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