-
Notifications
You must be signed in to change notification settings - Fork 49
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
Remember sort order #54
Comments
I think we can change that in v2.0 so that it remembers you last sort order. For a temporary workaround: Same in api/edit-master.php line 64 for the records. Hope that helps you in the meantime. |
What would be nice would be to sort by Type, then Name. That way records would be grouped logically by Type. My code for domains.php (Though only really need name on this but doesn't hurt to sort by type too if you have multiples.) Line 101. replace:
for edit-master.php
Added priority into edit-master.php for the MX records :) Those are my tweaks, thanks for the tips on where to find the search bits! |
@loewexy and @SpaceJelly thank you for the tips! Good directions! I did exactly as instructed and have the exact results I was hoping for. For anyone reading this thread I would like to add to that with one more edit I made. To make the users list sort in alpha by default do the following... edit api/users.php
Unless you want to group your admins then you should do this... edit api/users.php
|
Greetings! I would like to do this. However the above information does not seem to apply to the existing code. What do I hack to make it remember the sort order for the domains in the list, as well as the records and users? |
First of all I would like to thank you for sharing this great app and tell you that it is the best one I have seen so far for pdns.
Why is the default sort order by ID? That would make sense for a computer but not for a human. A human is going to look down a list for a username or domain name in alphabetical order. To me.. it all just looks scrambled and random. Is there a way to make this sort alpha by default? I am perfectly fine with hacking the code if you direct me to the right spots and give me a clue as to how to change it.
Note: I know I can click the top of the column and make it sort there. But that setting is not remembered when I return to the page and I am having to click that obsessively. This is counter to the general function/purpose of a computer.
Thank you again!!
The text was updated successfully, but these errors were encountered: