-
Notifications
You must be signed in to change notification settings - Fork 649
Fix #467 - Author ordering #571
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
Conversation
Hi! I'm sorry for the delay in taking a look at this. I think it'd be better if the ordering was done by SQL instead of in Rust, just since ordering things is one of the tasks SQL is really really good at. Could you change the query for authors to include |
I want the sort to be done on what is displayed. What is the value of |
Looks like the only insert to I see 3 fixes:
Do you have other suggestions? |
Ohhhh I understand now. I disagree with that TODO, actually, there's nothing requiring values in So what about a 4th solution:
|
If we do that, presumably, we should remove all the Author as User code. By removing the variant of the enum, and everything that references it. Including the JSON response. And whatever consumes that JSON, would that be a breaking change to the API? Maybe we leave the api with a comment that it has no data, but is just there backwards compatibility. |
Ok I remove the User as Author from the back end. I looked through the front end and did not see any handling of User to be removed, I may have missed something. I left the JSON response with a comment. |
Looks great!!! Thank you for your patience!!! I don't think we need to worry too much about anything relying on this API, since it never returned any values anyway :) Perhaps we can make an /api/v2/ someday that gets rid of the Thank you!!! ❤️ |
a Next Step would be to delete the useless columns in the database, I don't
know how to do that. but if you're mucking about with the database tomorrow
it might be a good opportunity.
…On Mar 6, 2017 10:11 PM, "Carol (Nichols || Goulding)" < ***@***.***> wrote:
Merged #571 <#571>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#571 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADiaQLH_iUafm3g5e4vqri4jeB23p59qks5rjMrygaJpZM4MKdAJ>
.
|
Rebased and deld the pr by accident. so I resubmitted it.