openhealthcare / whopaysthisdoctor.org

whopaysthisdoctor.org website
2 stars 6 forks source link

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

Open samsmith opened 5 years ago

samsmith commented 5 years ago

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 commented 5 years ago

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.

samsmith commented 5 years ago

ok

On 1 Jul 02019, at 15:49, David Miller notifications@github.com wrote:

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 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/openhealthcare/whopaysthisdoctor.org/issues/24?email_source=notifications&email_token=AACZEVE5YMPKVFZZPQQPGQDP5IKO3A5CNFSM4H2YWL62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY6LZJA#issuecomment-507296932, or mute the thread https://github.com/notifications/unsubscribe-auth/AACZEVGL2TYBUBRBGHEE5WLP5IKO3ANCNFSM4H2YWL6Q.

--
@smithsam