-
Notifications
You must be signed in to change notification settings - Fork 283
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
Add UI for re-ordering services #1
Comments
@adamcooke Can you explain a little more as to how you intended this to work? I wouldn't mind submitting a PR for such functionality. |
The I think I was just thinking of adding a simple JQuery UI sortable widget which would let you just drag and drop the order of services on the service list page. I'd pop a form around the whole table, put a hidden field - Finally, I would likely add a class method to def self.reorder(ids)
ids.map(&:to_i).each_with_index do |id, index|
service = Service.find(id)
service.update(:position => index + 1)
end
end |
👍I was thinking the same. I'll try and submit this unless you or anyone else beats me to it. |
Did this get anywhere? Looks like it went dead but i think its an important feature so that messing with the database in the background is not required. |
+1 on the feature, it looks like the internals already allow for this to work so it would be a nice to have. |
+1 |
Any news about reorder? I need sorting inside "service group". How I can do this? |
No description provided.
The text was updated successfully, but these errors were encountered: