Skip to content

Commit

Permalink
[fix] Frontend Filtering by author broken in modal when inserting
Browse files Browse the repository at this point in the history
article via xtd
  • Loading branch information
infograf768 committed Oct 30, 2017
1 parent 91dcb79 commit b81f778
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 24 deletions.
51 changes: 27 additions & 24 deletions components/com_content/models/forms/filter_articles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,44 +24,47 @@
type="category"
label="JOPTION_FILTER_CATEGORY"
description="JOPTION_FILTER_CATEGORY_DESC"
multiple="true"
class="multipleCategories"
extension="com_content"
onchange="this.form.submit();"
>
<option value="">JOPTION_SELECT_CATEGORY</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>
published="0,1,2"
/>

<field
name="access"
type="accesslevel"
label="JOPTION_FILTER_ACCESS"
description="JOPTION_FILTER_ACCESS_DESC"
multiple="true"
class="multipleAccessLevels"
onchange="this.form.submit();"
>
<option value="">JOPTION_SELECT_ACCESS</option>
</field>
/>

<field
name="author_id"
type="author"
label="COM_CONTENT_FILTER_AUTHOR"
description="COM_CONTENT_FILTER_AUTHOR_DESC"
multiple="true"
class="multipleAuthors"
onchange="this.form.submit();"
>
<option value="0">JOPTION_NO_USER</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_AUTHOR</option>
<option value="">JOPTION_SELECT_MAX_LEVELS</option>
</field>

<field
Expand All @@ -80,11 +83,11 @@
type="tag"
label="JOPTION_FILTER_TAG"
description="JOPTION_FILTER_TAG_DESC"
multiple="true"
class="multipleTags"
mode="nested"
onchange="this.form.submit();"
>
<option value="">JOPTION_SELECT_TAG</option>
</field>
/>
</fields>
<fields name="list">
<field
Expand Down
1 change: 1 addition & 0 deletions language/en-GB/en-GB.ini
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ JLIB_DATABASE_ERROR_LOAD_DATABASE_DRIVER="Unable to load Database Driver: %s"
JLIB_ERROR_INFINITE_LOOP="Infinite loop detected in JError"

JOPTION_DO_NOT_USE="- None Selected -"
JOPTION_NO_USER="- No User -"
JOPTION_SELECT_ACCESS="- Select Access -"
JOPTION_SELECT_AUTHOR="- Select Author -"
JOPTION_SELECT_CATEGORY="- Select Category -"
Expand Down

0 comments on commit b81f778

Please sign in to comment.