[Closed] Use sort on several wpcf

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 16 replies, has 2 voices, and was last updated by  Shane 2 months ago. The support staff assigned to this topic is Shane.

Viewing 15 posts - 1 through 15 (of 17 total)
Author
Posts
#569665

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 ?

Thank you.

#569750

Shane
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/Jamaica (GMT-05:00)

Hi Roman,

Thank you for contacting our support forum.

Are you currently displaying your items in a sortable table ?

Please let me know.
Thanks,
Shane

#569754

Yes I do.
Thank you.

#569783

Shane
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/Jamaica (GMT-05:00)

Hi Roman,

WOuld you mind providing me with a link to the website so that I can have a look at the table.

Thanks,
Shane

#569785

Please activate private fields.

#569793

Shane
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/Jamaica (GMT-05:00)

Private fields enabled.

#570126

Shane
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/Jamaica (GMT-05:00)

Hi Roman,

I've checked the table and the column for the date is sortable so I'm not seeing any issues.

Thanks,
Shane

#570130

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.

#570149

Shane
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/Jamaica (GMT-05:00)

Hi Roman,

I'm not sure if i'm understanding correctly but when I click the date column it is sorting
hidden link

Could you provide a screen so I can have more specific information on the field you are referring to.

Thanks,
Shane

#570173

Please remove the link from your answer.

No, when you click the date column it is not sorting.
You can try again and double check, you'll see the contents are not properly sorted.

For instance you may look the 3 first results :
- line 1 is 08/08/17 05:48
- line 2 is 08/08/17 10:46
- line 3 is 08/08/17 06:41

Thank you.

#570406

Shane
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/Jamaica (GMT-05:00)

Hi Roman,

Thanks for the clarity.

I checked on your other views and the date sorting is fine here
However I see the issue on the one here

What I would recommend is to recreate this view as something might be causing the sorting to not work properly.

Thanks,
Shane

#570419

Hello,
I think you didn't read my explanation :

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.

Thank you.

#570448

Shane
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/Jamaica (GMT-05:00)

Hi Roman,

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.

Thanks,
Shane

#570454

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.

Also please delete the link to my site on this post https://wp-types.com/forums/topic/use-sort-on-several-wpcf/#post-570149

#570525

Shane
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/Jamaica (GMT-05:00)

Hi Roman,

Would it be possible to do any testing on the site ?

I have an idea if what might be causing this.

Thanks,
Shane

Viewing 15 posts - 1 through 15 (of 17 total)

The topic ‘[Closed] Use sort on several wpcf’ is closed to new replies.