?
avatar priyankaSahutekdi
priyankaSahutekdi
7 Nov 2020

Steps to reproduce the issue

Go to Admin view
Move to Content Menu
Go to fields
Click at new
Select all

Expected result

The system should display only on the option the category dropdown

Actual result

The system display two 'All' option under category dropdown

System information (as much as possible)

Articles-New-Field-Administration

Joomla 4
PHP Version | 7.3.12-1+ubuntu18.04.1

avatar priyankaSahutekdi priyankaSahutekdi - open - 7 Nov 2020
avatar joomla-cms-bot joomla-cms-bot - change - 7 Nov 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Nov 2020
avatar priyankaSahutekdi priyankaSahutekdi - change - 7 Nov 2020
Title
Admin View >> Contents >> Fields >> Displaying duplicate category options in detail page
Admin View >> Contents >> Fields >> Displaying duplicate category options in detail page [4.0]
avatar priyankaSahutekdi priyankaSahutekdi - edited - 7 Nov 2020
avatar priyankaSahutekdi priyankaSahutekdi - change - 7 Nov 2020
Title
Admin View >> Contents >> Fields >> Displaying duplicate category options in detail page [4.0]
[4.0] Admin View >> Contents >> Fields >> Displaying duplicate category options in detail page
avatar priyankaSahutekdi priyankaSahutekdi - edited - 7 Nov 2020
avatar adj9
adj9 - comment - 7 Nov 2020

Confirmed :)


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31352.

avatar infograf768
infograf768 - comment - 7 Nov 2020

It's worse than that.
We also still get All when selecting a specific category

Screen Shot 2020-11-07 at 17 54 39

This comes from the fact that multiple is set to true.
@dgrammatiko @Fedik

avatar Fedik
Fedik - comment - 8 Nov 2020

hm, that because choices.js use empty option as placeholder, and All is empty:

>
<option value="">JALL</option>
<option value="-1">JNONE</option>

changing to <option value="0">JALL</option> will fix it, but I am not sure about any side effect

avatar Fedik
Fedik - comment - 8 Nov 2020

I have opened issue jshjohnson/Choices/issues/912

avatar Fedik
Fedik - comment - 8 Nov 2020

pleas test #31365

avatar Fedik
Fedik - comment - 9 Nov 2020

I think it can be closed, or?

avatar bembelimen bembelimen - change - 9 Nov 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-11-09 15:42:35
Closed_By bembelimen
avatar bembelimen bembelimen - close - 9 Nov 2020

Add a Comment

Login with GitHub to post a comment