?
avatar David2376
David2376
17 Jun 2021

Steps to reproduce the issue

Go to Global Options - Article - Shared

Expected result

There should be an option to change the default Date For Ordering (Created, Modified, Published, Unpublished).

Actual result

The option to change the default Date For Ordering is missing. It is pre-set to Published with no way to change it globally. The only way to change it currently is to go to each menu item and manually change it under Blog Options.

System information (as much as possible)

Joomla 4.0.0-rc1screen shot 2021-06-17 at 22 50 46
PHP 7.4.16

Additional comments

screen shot 2021-06-17 at 22 50 48

avatar David2376 David2376 - open - 17 Jun 2021
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Jun 2021
avatar brianteeman
brianteeman - comment - 17 Jun 2021

Is this what you mean?

image

avatar chmst chmst - change - 18 Jun 2021
Labels Added: ?
avatar chmst chmst - labeled - 18 Jun 2021
avatar richard67
richard67 - comment - 18 Jun 2021

@chmst "New Feature" label? Why? In current 4.0-dev or RC 2 and maybe earlier versions it is implemented, see @brianteeman 's screen shot.

avatar richard67
richard67 - comment - 18 Jun 2021

@David2376 Is your 4.0 RC 1 the result of a new installation, or has it an update history from previous versions? If you update to 4.0 RC 2, does the option shown in @brianteeman 's screen shot appear after that? If not: Can you try with a new installation of RC 2 (without any update history) and report back if that is whant you had in mind? The possibility to use "Unpublished" which you have mentioned is not implemented, but that would not make any sense because if it's not published you won't see it in e.g. a blog.

avatar richard67 richard67 - change - 18 Jun 2021
Labels Removed: ?
avatar richard67 richard67 - unlabeled - 18 Jun 2021
avatar brianteeman
brianteeman - comment - 18 Jun 2021

Shouldn't matter which version you are using as this has been available for a very long time

avatar richard67
richard67 - comment - 18 Jun 2021

Shouldn't matter which version you are using as this has been available for a very long time

@brianteeman Yes, but why does his screenshot not show it?

avatar chmst
chmst - comment - 18 Jun 2021

@chmst "New Feature" label? Why? In current 4.0-dev or RC 2 and maybe earlier versions it is implemented, see @brianteeman 's screen shot.

Forgotten param , sorry

avatar richard67
richard67 - comment - 18 Jun 2021

He is looking at a different tab

@brianteeman No, the first screenshot is the com_content options, tab "shared", like in your screenshot. Or am I missing something?

avatar brianteeman
brianteeman - comment - 18 Jun 2021

Article order has to be set to a date related option before the setting is shown

avatar brianteeman
brianteeman - comment - 18 Jun 2021

<field
name="order_date"
type="list"
label="JGLOBAL_ORDERING_DATE_LABEL"
showon="orderby_sec:rdate,date"
default="published"
validate="options"
>
<option value="created">JGLOBAL_CREATED</option>
<option value="modified">JGLOBAL_MODIFIED</option>
<option value="published">JPUBLISHED</option>
</field>

avatar richard67
richard67 - comment - 18 Jun 2021

Article order has to be set to a date related option before the setting is shown

Ahh ... I see ... makes sense.

@David2376 The reason why you can't see the field for selecting which date to be used (see screenshot above) is because you have chosen "Title alphabetical" for the article order. If you chose "Oldest first" or "Most recent first" for the article order, the field to select the date (created, modified or published) will be shown. If that's what you were looking for, please close this issue. Thanks in advance.

avatar brianteeman
brianteeman - comment - 18 Jun 2021

Actually thinking about it a bit more with a coffee we should remove the showon. That way you can set a global default for the date to be used when you select a date ordering in a menu etc

avatar richard67
richard67 - comment - 18 Jun 2021

Actually thinking about it a bit more with a coffee we should remove the showon. That way you can set a global default for the date to be used when you select a date ordering in a menu etc

Hmm, makes sense ... now with the showon you can't do that.

avatar brianteeman
brianteeman - comment - 18 Jun 2021

I will take a look at fixing that after coffee. Need to make sure it bubbles though correctly etc and probably have to check other components

avatar brianteeman
brianteeman - comment - 18 Jun 2021

Please check and test #34553

avatar richard67
richard67 - comment - 18 Jun 2021

Please check and test #34553

@brianteeman That's the number of this issue here ? I guess you mean #34554 .

avatar richard67 richard67 - change - 18 Jun 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-06-18 08:06:36
Closed_By richard67
avatar richard67 richard67 - close - 18 Jun 2021
avatar richard67
richard67 - comment - 18 Jun 2021

Closing as having a pull request. Please test #34554 . Thanks in advance.

avatar richard67
richard67 - comment - 18 Jun 2021

@brianteeman Your coffee seems to be good ?

avatar David2376
David2376 - comment - 20 Jun 2021

Yeah I figured it out....I wasn't selecting "Oldest First" or "Most Recent First". Sorry sometimes the lack of sleep gets the best of me! Issue marked as closed. Thanks guys.


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

Add a Comment

Login with GitHub to post a comment