? ? Success

User tests: Successful: Unsuccessful:

avatar n9iels
n9iels
19 Aug 2016

Summary of Changes

This PR adds the possibility to filter article on the "Publish Up" and "Finish Publishing" date.

Testing Instructions

  1. Apply this PR
  2. Create some article with different "publish up" and "finish publishing" dates
  3. Select the following option in the "Sort table by" field and confirm that the articles are sorted correctly:
    • Start Publishing ascending
    • Start Publishing descending
    • Finish Publishing ascending
    • Finish Publishing descending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Aug 2016
Category Administration Components Language & Strings
avatar n9iels n9iels - open - 19 Aug 2016
avatar n9iels n9iels - change - 19 Aug 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Aug 2016
Labels Added: ? ?
avatar brianteeman
brianteeman - comment - 19 Aug 2016

For me this is going to make it very confusing as the only date that is displayed is the created date. So as soon as people start to use these new sorts they will wonder why it doesnt work as the Date column does not reflect the ordering

avatar n9iels
n9iels - comment - 19 Aug 2016

I think it is not confusing, because Start Publishing ascending and Date ascending are two different thing.

Yes you can't see the sort column, but it is quite logic what is mean it think so

avatar gwsdesk
gwsdesk - comment - 24 Aug 2016

I agree with Brian here. If we start manipulating again the ordering system we get riots on the forums and sorry @n9iels I disagree with it. It is not logic but confusing

avatar brianteeman
brianteeman - comment - 24 Aug 2016

@n9iels they are different things but if a user doesnt see it as there is a no column I can guarantee they will be confused

@gwsdesk this is nothing to do with front end ordering

avatar n9iels
n9iels - comment - 24 Aug 2016

Hmm true...
What if we changed that column of the filter is on? So if we filter on start published date the "date" column is replaced by the start published date. Or will that be confusing too?

avatar brianteeman
brianteeman - comment - 24 Aug 2016

In my opinion yes

On 24 August 2016 at 09:25, Niels van der Veer notifications@github.com
wrote:

Hmm true...
What if we changed that column of the filter is on? So if we filter on
start published date the "date" column is replaced by the start published
date. Or will that be confusing too?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#11670 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8fbEkGT4cI9AZWg3ZNLOrGdntpTXks5qi__egaJpZM4JojEB
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar gwsdesk
gwsdesk - comment - 24 Aug 2016

I did not say frontend. I thought this is meant for admin ordering so if
I am mistaken me sorry

On 8/24/2016 3:18 PM, Brian Teeman wrote:

@n9iels https://github.com/n9iels they are different things but if a
user doesnt see it as there is a no column I can guarantee they will
be confused

@gwsdesk https://github.com/gwsdesk this is nothing to do with front
end ordering


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#11670 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHzLNpniQ9facFehQ4X4qThb11Xm8hwxks5qi_4_gaJpZM4JojEB.

avatar sanderpotjer
sanderpotjer - comment - 7 Oct 2016

For people that are working heavily with scheduled articles it does makes a lot of sense to be able to order the backend articles list on the publication date. They don't even look at the creation date. At the moment there is no possibility to see the (upcoming) articles in the backend ordered by the publication date, while many frontend views are using the publication date as ordering. It would be great to display articles in the same order as on the frontend.

I do think that @n9iels suggestion of changing the "Date" column in the overview based on the filtering selection. So for all people used to the current listing nothing will change.

As soon as someone selects the "Publishing date" (the suggested new option) in the filter the date column shows the Publishing date instead of the Creation date. I would only recommend to change "Date" column heading into "Date Created" heading, right now it is not clear what date is displayed anyway.

avatar brianteeman
brianteeman - comment - 9 Oct 2016

@sanderpotjer you've convinced me - so if the date column changes are added to this PR then it can be tested


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

avatar n9iels
n9iels - comment - 9 Oct 2016

@sanderpotjer @brianteeman I changed the position of the publish_up filter in the select list. When the filter is applied the publish_up dates are visible instead of the created dates. Also the heading is different when the filter is applied

avatar brianteeman brianteeman - test_item - 10 Oct 2016 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 10 Oct 2016

I have tested this item ? unsuccessfully on 0a3c98f

PHP Parse error: syntax error, unexpected ';', expecting ':' in /administrator/components/com_content/views/articles/tmpl/default.php on line 86


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

avatar n9iels
n9iels - comment - 10 Oct 2016

@brianteeman @zero-24 I fixed the syntax error.

Offtopic: Why didn't Travis mention this error?

avatar zero-24
zero-24 - comment - 10 Oct 2016

IIRC Travis complete ignore the tmpl folders ;)

avatar brianteeman brianteeman - test_item - 10 Oct 2016 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 10 Oct 2016

I have tested this item ? unsuccessfully on e5a42f3

1. Set filter to Start Publishing Ascending in the filter and the column header says Date Created

  1. Set filter to Finish Publishing Ascending in the filter and the column header says Date Created

  2. When the filter is set to Finish Publishing and an item does not have a finish publishing date (most will not) then the value displayed is -0001-11-30


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

avatar mbabker
mbabker - comment - 10 Oct 2016

Offtopic: Why didn't Travis mention this error?

IIRC Travis complete ignore the tmpl folders ;)

They aren't completely ignored, just the code standard checks mostly. We don't have a check for valid syntax in the files though.

avatar zero-24
zero-24 - comment - 10 Oct 2016

They aren't completely ignored, just the code standard checks mostly. We don't have a check for valid syntax in the files though.

Thanks for corrcting me. Here is a a RFC for PHP Syntax checker #12379

avatar csthomas
csthomas - comment - 13 Oct 2016

Please consider my suggestion from n9iels#5

avatar euismod2336
euismod2336 - comment - 13 Oct 2016

@csthomas @n9iels Maybe it would be even easier to declare the $orderingColumn at the top and fill it via a regex (or substr), instead of setting it somewhere and using it somewhere else. You could then also skip the strpos and immediately do if (orderingColum == publish_up)?

avatar csthomas
csthomas - comment - 13 Oct 2016

@euismod2336 As you wish n9iels#5

avatar euismod2336
euismod2336 - comment - 13 Oct 2016

Hathor doesn't provide an option to sort on date, so I only changed the language string so that it's more obvious the creation date is meant in the table.

avatar brianteeman brianteeman - test_item - 13 Oct 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 13 Oct 2016

I have tested this item successfully on f3c552b


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

avatar csthomas
csthomas - comment - 18 Oct 2016

What about featured articles view? It might be worthwhile to add the same?

avatar euismod2336
euismod2336 - comment - 18 Oct 2016

You are correct, again :) thank you @csthomas

avatar sanderpotjer
sanderpotjer - comment - 4 Nov 2016

@euismod2336 can you please fix the code conflict in administrator/components/com_content/views/articles/tmpl/default.php with the latest changes? Right now it is removing the latest changes around hits, votes & rating:
screen shot 2016-11-04 at 14 00 55

avatar joomla-cms-bot joomla-cms-bot - change - 30 Nov 2016
Category Administration Components Language & Strings Administration com_content Language & Strings Templates (admin) Components
avatar euismod2336
euismod2336 - comment - 30 Nov 2016

something seems terribly broken at this point...one moment :)

avatar euismod2336
euismod2336 - comment - 30 Nov 2016

ignore previous comment, that was related to missing language files in my local copy. @sanderpotjer @marclight (i got your name from the related issue) could you give this a test run? Then maybe we can get this done before 2020 ;)

avatar infograf768
infograf768 - comment - 30 Nov 2016

I have tested this item successfully on 5c43460


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

avatar infograf768 infograf768 - test_item - 30 Nov 2016 - Tested successfully
avatar sanderpotjer
sanderpotjer - comment - 30 Nov 2016

I have tested this item successfully on 5c43460

Thanks for this feature!


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

avatar sanderpotjer sanderpotjer - test_item - 30 Nov 2016 - Tested successfully
avatar jeckodevelopment jeckodevelopment - change - 30 Nov 2016
The description was changed
Status Pending Ready to Commit
Labels
avatar jeckodevelopment jeckodevelopment - change - 30 Nov 2016
Labels Removed: ? ?
avatar jeckodevelopment jeckodevelopment - edited - 30 Nov 2016
avatar jeckodevelopment
jeckodevelopment - comment - 30 Nov 2016

RTC


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

avatar jeckodevelopment jeckodevelopment - change - 30 Nov 2016
Milestone Added:
avatar rdeutz rdeutz - change - 6 Dec 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-12-06 21:46:17
Closed_By rdeutz
avatar rdeutz rdeutz - close - 6 Dec 2016
avatar rdeutz rdeutz - merge - 6 Dec 2016
avatar rdeutz rdeutz - reference | 6d4b2a7 - 6 Dec 16
avatar rdeutz rdeutz - merge - 6 Dec 2016
avatar rdeutz rdeutz - close - 6 Dec 2016

Add a Comment

Login with GitHub to post a comment