r7-labs / R7.Documents

Classic DNN Documents module, redesigned
MIT License
20 stars 7 forks source link

If date sort column isn't the last one, sort only by date (not datetime) #123

Closed roman-yagodin closed 3 years ago

roman-yagodin commented 3 years ago

Sorting by dates should use only date, but not time part when used as first sorting field.

The one way to solve this is to introduce new "date-only" sort columns.

The other way is to somehow detect if there is further ordering pending and throw away time parts then performing comparison.