-
Notifications
You must be signed in to change notification settings - Fork 227
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
Tables Aren't Sortable #1
Comments
Hi, |
Hey @kidouchi, Sure you can work on it! Let us know if you need any help. And please subscribe to this list: https://lists.andrew.cmu.edu/mailman/listinfo/autolab-os |
I removed Prototype.js, which was shadowing jQuery, and then made a call to the `sorttables` function, which adds listeners on the table headings to toggle sorting. Prototype.js doesn't look like it has a place in our code, from what I can tell. Correct me if I'm wrong. I'll be attempting to remove it in favor of jQuery whenever I get the chance. Until it's "safe," I'll be preferring `jQuery(...)` over `$(...)`, even though this is generally not the best style. I also disabled the functionality to float table headers at the top of the screen, because it was causing errors and the current "solution" was really hacky. I might look into enabling this feature later.
At least on the Manage Accounts page, it looks like the error was being caused by not calling the Since there are tons of tables in the app, it doesn't make economical sense to peck and hunt for all of them. I'll keep this issue open for a while until they gradually are all fixed. When a table is encountered that's not sortable, see #105 for boilerplate code to fix the issue. |
Fix table sorting in Manage Accounts page. #1
Fixed by 05d067f. |
The manage accounts page no longer sorts by column.
I think this has to do with us not including jQuery sorttables in the application layout. instead, we should include it on any page with a table.
The text was updated successfully, but these errors were encountered: