-
-
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.
Moved Filters from Left to Search Tools - Ordering dropdown is not wo…
…rking
- Loading branch information
Showing
4 changed files
with
115 additions
and
69 deletions.
There are no files selected for viewing
98 changes: 98 additions & 0 deletions
98
administrator/components/com_newsfeeds/models/forms/filter_newsfeeds.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,98 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<form> | ||
<fields name="filter"> | ||
<field | ||
name="search" | ||
type="text" | ||
label="COM_NEWSFEEDS_FILTER_SEARCH_DESC" | ||
hint="JSEARCH_FILTER" | ||
/> | ||
<field | ||
name="published" | ||
type="status" | ||
label="COM_NEWSFEEDS_FILTER_PUBLISHED" | ||
description="COM_NEWSFEEDS_FILTER_PUBLISHED_DESC" | ||
onchange="this.form.submit();" | ||
> | ||
<option value="">JOPTION_SELECT_PUBLISHED</option> | ||
</field> | ||
<field | ||
name="category_id" | ||
type="category" | ||
label="JOPTION_FILTER_CATEGORY" | ||
extension="com_newsfeeds" | ||
description="JOPTION_FILTER_CATEGORY_DESC" | ||
onchange="this.form.submit();" | ||
> | ||
<option value="">JOPTION_SELECT_CATEGORY</option> | ||
</field> | ||
<field | ||
name="access" | ||
type="accesslevel" | ||
label="JOPTION_FILTER_ACCESS" | ||
description="JOPTION_FILTER_ACCESS_DESC" | ||
onchange="this.form.submit();" | ||
> | ||
<option value="">JOPTION_SELECT_ACCESS</option> | ||
</field> | ||
<field | ||
name="language" | ||
type="contentlanguage" | ||
label="JOPTION_FILTER_LANGUAGE" | ||
description="JOPTION_FILTER_LANGUAGE_DESC" | ||
onchange="this.form.submit();" | ||
> | ||
<option value="">JOPTION_SELECT_LANGUAGE</option> | ||
<option value="*">JALL</option> | ||
</field> | ||
<field | ||
name="tag" | ||
type="tag" | ||
mode="nested" | ||
label="JOPTION_FILTER_TAG" | ||
description="JOPTION_FILTER_TAG_DESC" | ||
onchange="this.form.submit();" | ||
> | ||
<option value="">JOPTION_SELECT_TAG</option> | ||
</field> | ||
</fields> | ||
<fields name="list"> | ||
<field | ||
name="fullordering" | ||
type="list" | ||
label="COM_NEWSFEEDS_LIST_FULL_ORDERING" | ||
description="COM_NEWSFEEDS_LIST_FULL_ORDERING_DESC" | ||
onchange="this.form.submit();" | ||
default="a.id DESC" | ||
> | ||
<option value="">JGLOBAL_SORT_BY</option> | ||
<option value="a.ordering ASC">JGRID_HEADING_ORDERING_ASC</option> | ||
<option value="a.ordering 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.name ASC">JGLOBAL_TITLE_ASC</option> | ||
<option value="a.name DESC">JGLOBAL_TITLE_DESC</option> | ||
<option value="category_title ASC">JCATEGORY_ASC</option> | ||
<option value="category_title DESC">JCATEGORY_DESC</option> | ||
<option value="a.access ASC">JGRID_HEADING_ACCESS_ASC</option> | ||
<option value="a.access DESC">JGRID_HEADING_ACCESS_DESC</option> | ||
<option value="numarticles ASC">COM_NEWSFEEDS_NUM_ARTICLES_HEADING_ASC</option> | ||
<option value="numarticles DESC">COM_NEWSFEEDS_NUM_ARTICLES_HEADING_DESC</option> | ||
<option value="a.cache_time ASC">COM_NEWSFEEDS_CACHE_TIME_HEADING_ASC</option> | ||
<option value="a.cache_time DESC">COM_NEWSFEEDS_CACHE_TIME_HEADING_DESC</option> | ||
<option value="language ASC">JGRID_HEADING_LANGUAGE_ASC</option> | ||
<option value="language DESC">JGRID_HEADING_LANGUAGE_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" | ||
class="input-mini" | ||
default="25" | ||
label="COM_NEWSFEEDS_LIST_LIMIT" | ||
description="COM_NEWSFEEDS_LIST_LIMIT_DESC" | ||
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