? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
29 Oct 2016

Pull Request for Issue #12483 .

Summary of Changes

In the front end we can sort by date and chose to use either the created, modified or published dates. This PR add the unpublished date to that list.

This is for the category blog, category list and featured views and there is a new global option as well

Testing Instructions

Part 1

Create a category with 3 featured articles - each with a different Stop Publishing date
Create a category blog, category list and featured menu item to display those articles
In the options for the menu item select
Article Order - Oldest First or Most recent first
Date for Ordering - Unpublished

You will see that the articles are now displayed in the order that they will be unpublished

Part 2

Go to the component options for the articles and in the Shared tab set the Date for Ordering to Unpublished
Go back to your three menu items and change the Date for Ordering to Use Global

You will see that the articles are still displayed in the order that they will be unpublished

avatar brianteeman brianteeman - open - 29 Oct 2016
avatar brianteeman brianteeman - change - 29 Oct 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 Oct 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 29 Oct 2016
Category Administration Components Front End Templates (site)
avatar brianteeman brianteeman - change - 4 Nov 2016
Easy No Yes
avatar brianteeman brianteeman - edited - 4 Nov 2016
avatar Martijn-Boomsma
Martijn-Boomsma - comment - 4 Nov 2016
  • I have applied the patch
  • I have created a category with 3 featured articles - each with a different "Finish Publishing" date.
  • I have created a category blog menu item to display those articles
  • In the options for the menu item I selected -> Article Order - Most recent first -> Date for Ordering - Unpublished

Nothing I change in the "Finish Publishing" date of the article changes anything in the sorting. See http://prntscr.com/d3045t. Am I doing something wrong or is the sorting not working as intended?


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

avatar brianteeman
brianteeman - comment - 4 Nov 2016

Does this help?

feature

avatar Martijn-Boomsma
Martijn-Boomsma - comment - 4 Nov 2016

It seems to confirm I have the right settings but patch doesn't work for me:
http://prntscr.com/d30sfn

If you look at screenshot, how can the date Test [#12615] - 1 - 2017-01-16 be last while it should be in the middle. The right order should be Number 2 - 1 - 3 according to the date.


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

avatar brianteeman
brianteeman - comment - 4 Nov 2016

i'm as confused as you - thanks for trying though

avatar Luchen6 Luchen6 - test_item - 4 Nov 2016 - Tested unsuccessfully
avatar Luchen6
Luchen6 - comment - 4 Nov 2016

I have tested this item ? unsuccessfully on f305177

Applying the patch does not give the correct result.

Initial order was 'published'; after applying test result was already 'unpublished'.

Cannot change to 'publish' anymore.
Selection box gives strange list.

See image , publishes and unpublishes are both selected
issue12615


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

avatar brianteeman
brianteeman - comment - 9 Dec 2016

So long and farewell

avatar brianteeman brianteeman - change - 9 Dec 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-12-09 15:13:09
Closed_By brianteeman
avatar brianteeman brianteeman - close - 9 Dec 2016
avatar joomla-cms-bot joomla-cms-bot - change - 9 Dec 2016
Category Administration Components Front End Templates (site) Administration com_content Front End Templates (site) Components

Add a Comment

Login with GitHub to post a comment