-
Notifications
You must be signed in to change notification settings - Fork 896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't sort desc when using pagination #184
Comments
I'm seeing this problem as well - a fix would be greatly appreciated. Also I see that the Sort functionality is part broken (try sorting on "Description") on: http://sindresorhus.com/bower-components/ - presumably same issue. |
It seems like there is some general problems with the sorting, I'll fix it as soon as I get back from my computer-less-vacation! |
Sounds good, enjoy your vacation! On Sat, Dec 21, 2013 at 11:18 AM, Jonny Strömberg
|
Any news on that issue ? |
Also having this issue. Really like the library, though! |
This should be fixed now! Download v1.1.0. Sorry for the delay. I found some more fishy stuff associated with the sort/pagination. |
Oh, remember to visit the changelog -> http://listjs.com/overview/changelog |
Still seem to be having this issue (sort only works once when also using pagination): Sorry if I'm doing something obviously wrong. |
@lucidv01d, don't think you're doing anything wrong. I ended up building On Mon, Mar 3, 2014 at 9:38 PM, lucidv01d notifications@github.com wrote:
|
Hi, I'm a newbie in js, I want to use Listjs but with pagination, and I can't connect my own pagination... Could you help me please. I'm glad to use your pagination, but it's without css styles, without "go to first", "prev", "active", "next", "go to last" links. Can you add it to your pagination and highlight active page number via css styles? Or tell me how can I connect this (https://github.com/wesnolte/Pajinate/wiki) pagination via "plugin [ ]" or etc. I'm interest in "Style First/Next and Last/Next" named pagination on this demo page (http://dl.dropboxusercontent.com/u/4151695/html/pajinate/examples/example1.html) |
Issue still exists. I'm using list.js version 1.1.1, list.pagination.js 0.1.1 |
Hi! This issue shouldn't be closed because is not solved. |
Same issue here as well, pagination isn't working with sorting so I am using a different pagination, but that one isn't working with the sorting either. |
Same here sort doesn't work with the pagination plugin |
me too not working.. list.js 1.1.1 and pagination 0.1.1 |
plz check this issue i think it's related to this |
I'm using 1.0, and my table has pagination. I set up sort on one of my column headers, and it works when I click the column the first time. The second time I click on the header, it does not switch to "desc" sort but rather it stays sorted "asc".
After some investigation I found that the click handler that invokes sorting is being bound twice -- once for my initial List instantiation and once when the Pagination plugin instantiates a List. As a result, the click handler actually fires twice every time I click on the column header, and the "asc" sort keeps overriding the "desc" sort.
Not sure if this issue belongs on the Pagination project or this project, but I'm happy to copy this over to the other project if that's more appropriate.
The text was updated successfully, but these errors were encountered: