Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ protected function populateState($ordering = 'a.id', $direction = 'desc')
// Required content filters for the administrator menu
$this->getUserStateFromRequest($this->context . '.filter.category_id', 'filter_category_id');
$this->getUserStateFromRequest($this->context . '.filter.level', 'filter_level');
$this->getUserStateFromRequest($this->context . '.filter.featured', 'filter_featured');
$this->getUserStateFromRequest($this->context . '.filter.author_id', 'filter_author_id');
$this->getUserStateFromRequest($this->context . '.filter.tag', 'filter_tag', '');
$this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access');
Expand Down
13 changes: 13 additions & 0 deletions administrator/components/com_content/tmpl/articles/default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,19 @@
<option value="">JOPTION_SELECT_MAX_LEVELS</option>
</field>

<field
name="filter_featured"
type="list"
label="JFEATURED"
filtermode="selector"
class="js-select-submit-on-change"
validate="options"
>
<option value="">COM_CONTENT_SELECT_FEATURED</option>
<option value="0">COM_CONTENT_FILTER_FEATURED_NO</option>
<option value="1">COM_CONTENT_FILTER_FEATURED_YES</option>
</field>

<field
name="filter_author_id"
type="author"
Expand Down