isotope icon indicating copy to clipboard operation
isotope copied to clipboard

exception in sorting

Open dimios opened this issue 15 years ago • 2 comments

Is there any way to create an exception for an element in sorting? Lets say I sort elements based on number but I want always the first element to stay first when sorting asc or desc. if i will not use any class="number" only for this element when the rest have, for some reason all the sorting goes crazy.
Thanks

dimios avatar Mar 25 '11 15:03 dimios

Please read the guidelines before posting an issue.

http://isotope.metafizzy.co/docs/troubleshooting.html#reporting_bugs_and_issues

http://metafizzy.co/#support-license

When submitting an issue, provide a link to the site you’re having trouble with. I can't debug your problem without live code. If your project is confidential, try re-creating the issue in jsFiddle.

desandro avatar Mar 25 '11 16:03 desandro

you are absolute right about this, I am sorry that I didnt gave a link with the problem. I thought that maybe was some simple issue already known to you. Here is:

http://jsfiddle.net/dimios/xZuGk/1/ in this link I have class="number" on the first element which makes sorting work right but it keeps moving of-course also the first element and my main point is to keep it always first in sorting and visible in filtering. If the div with the class "number" will deleted from the first element sorting will no work.

again thanks

dimios avatar Mar 25 '11 19:03 dimios