I have a COMMANDE post type where the date field is wpcf-date-commande, and a DEMANDE post type where the date field is wpcf-date-demande.
Now I have set a view where the column "date" is filled by wpcf-date-commande if the loop is on a COMMANDE post, and filled by wpcf-date-demande if the loop is on a DEMANDE post.
How could I make the date column sortable ?
Hello,
Please see the "date" column. I have set a view where the column "date" is filled by wpcf-date-commande if the loop is on a COMMANDE post, and filled by wpcf-date-demande if the loop is on a DEMANDE post.
How could I make the date column sortable
Thank you.
I have set a view where the column "date" is filled by wpcf-date-commande if the loop is on a COMMANDE post, and filled by wpcf-date-demande if the loop is on a DEMANDE post.
How could I make the date column sortable
Also, please edit your posts and remove all links to my website.
I dont believe i'm understanding you correctly. You are asking can you make this date column sortable, It's already sortable because I can click it and the items are re-arranged according to the dates in that column. Is this what you are referring to.
Yes it is "sortable" since you can click, but when you do the sort is not right ! Please do so, click, and you'll see the dates are not in the right order !
Please feel free to look into my view settings to understand better.