Skip Navigation

[Escalated to 2nd Tier] small arrow icon showing sorting order in table columns

This support ticket is created 4 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Tagged: 

This topic contains 6 replies, has 2 voices.

Last updated by Nigel 4 years, 10 months ago.

Assisted by: Nigel.

Author
Posts
#1437191

Hi! My problem with small icon is very minor but let me make you understand it in my own way.
At default state there no small sticky icon that shows column is sorted descending or ascending like this hidden link untill we click on a column name and its start ordering. it get sort ascending on first click and sticky small icon appears with ascending shape hidden link and then 2nd time click make it descending with that small icon descending position hidden link.

I want this default state hidden link to show that small icon whether the column is sorted ascending or descending by its respective icon shape in pre order in views. For example according to this hidden link it should show post date column having that small icon in ascending shape in defualt before clicking on column to sort next (ascending/descending).

i hope that you understand my small problem and get back with better solution.
Thanks

#1437673

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Andrew

Those icons are initially shown when hovering over the table column header.

You can make them visible when the page loads by overriding a simple CSS style rule, which you can add to the custom CSS section of the View generating the table:

.wpv-sorting-indicator {
  display: inline;
}
#1438995

Hi Nigel! Thanks for your solution.
i got sorting indicators on all columns irrespective of the default sorting order, all indicators are upwards showing that all columns are sorted ascending. hidden link. But in actual the Posted date column is sorted descending by default.

My requirement is to just have indicator icon on column "Post date" by default without hovering on it and obviously in the direction on which it's sorted actually, Not just a ascending icon irrespective of actual order.
I hope you get my point. Please update me so i get it working.

Thanks in advance.
Regards

#1442223

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I looked into this further and while looking for a solution it seems to me that there are a couple of bugs which prevent these arrows working correctly on the initial page load, such that they ignore the sort order specified in the View settings.

I need my colleagues to look into this further to confirm my report and pass of their findings to the developers so that it can be improved.

I've described a usability issue of not being able to see the arrows after the initial page load, and bugs about them not working as expected in any case.

I'm escalating this thread, and I'll report back to you when I have some feedback.

#1443087

Alright, must get back. i will be waiting for your response.
Thanks

#1449945

Hi Nigel!
i am still waiting here for the solution of the problem to get the icon showing actual order on which column is sorted and how i can add it to only one specified column like i want it to be on the posted date only hidden link.

Looking forward to hear back from you.
Regards

#1450181

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Andrew

That last part—only allowing sorting on one of the columns—sounds like a new request, which I've included in the internal ticket where the usability issues with the icons are reported.

But please note that it is for the developers to prioritise their work in the context of the many open issues and I can't say when they will be able to work on this, but I will let you know when there are any updates from them.