Skip to content

[3.9.20 / 4.0.b4] Articles Category Module - Article Field to Order By (Descending Bug) #30301

@LuxLOL

Description

@LuxLOL

Steps to reproduce the issue

I noticed that if i set the option "Article Field to Order By" to "Descending" then it will sort the Articles with the database entries "0000-00-00 00:00:00" first before everything else. The correct way would be to filter this Articles out or sorted then at the very end.

Expected result

Sorting Descending:
Articles -> 2020-01-04 08:08:12
Articles -> 2020-01-03 13:34:52
OR:
Articles -> 2020-01-04 08:08:12
Articles -> 2020-01-03 13:34:52
Articles -> 0000-00-00 00:00:00

Actual result

Sorting Descending:
Articles -> 0000-00-00 00:00:00
Articles -> 2020-01-04 08:08:12
Articles -> 2020-01-03 13:34:52

System information (as much as possible)

PHP v7.4.8 and MySQL v5.5.5-10

Additional comments

screen shot 2020-08-06 at 14 09 18

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions