Skip to content
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

Sorting doctors by name without Dr/Prof/M. #24

Open
samsmith opened this issue Jun 23, 2019 · 2 comments
Open

Sorting doctors by name without Dr/Prof/M. #24

samsmith opened this issue Jun 23, 2019 · 2 comments

Comments

@samsmith
Copy link
Contributor

add sorttable_customkey to name column, which does not have any Dr/Prof/M. prefixes so it sorts by name when a browser wishes to sort by that column

@davidmiller davidmiller changed the title on doctors page Sorting doctors by name without Dr/Prof/M. Jul 1, 2019
@davidmiller
Copy link
Member

I strongly suspect it's easier to do this in the data than with javascript in the browser.
Numbers are small enough that it wouldn't take long to clean it once.

  • Create a title field on Doctor
  • Add the field to the declaration form
  • Add the field to the templates at DoctorListView and DoctorDetailView
  • Manually clean those names with honorifics in them to move to the new field

@davidmiller davidmiller added this to the Sprint July 19 milestone Jul 1, 2019
@samsmith
Copy link
Contributor Author

samsmith commented Jul 1, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants