[wp-trac] [WordPress Trac] #61632: Allow ordering of posts by `status`

WordPress Trac noreply at wordpress.org
Thu Jul 11 12:35:46 UTC 2024


#61632: Allow ordering of posts by `status`
-------------------------+------------------------------
 Reporter:  ntsekouras   |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Query        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by jameskoster):

 Good points, I agree it is questionable why a user might want to sort by
 status and that filtering is generally more useful.

 However it would be good to be consistent around this. Currently in data
 views it ''is'' possible to sort by author, which is an equally
 questionable feature.

 So my question is; should it be possible to sort by any text based field,
 or should we be selective about it? The former feels more flexible, even
 if it is only serving very niche use cases.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61632#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list