GNU Health - Bugs: bug #35462, Name and Lastname Confusion
You are not allowed to post comments on this tracker with your current authentication level.
bug #35462: Name and Lastname Confusion
Submitter: | Christoph H. Larsen <cd_larsen> | ||
Submitted: | Mon 06 Feb 2012 05:57:00 PM UTC | ||
Category: | Functionality | Severity: | 3 - Normal |
Item Group: | None | Status: | Fixed |
Privacy: | Public | Assigned to: | meanmicio |
Open/Closed: | Closed | Release: | None |
Module: | health | Component: | None |
Mon 27 Apr 2015 04:19:04 AM UTC, comment #5: |
Chris Zimmerman <teffalump> |
Wed 07 Mar 2012 05:33:29 AM UTC, comment #4: Hi Chris
|
Luis Falcon <meanmicio> |
Tue 06 Mar 2012 07:03:33 PM UTC, comment #3: Allow me to add in further errors along the same line:
|
Christoph H. Larsen <cd_larsen> |
Mon 20 Feb 2012 05:55:08 PM UTC, comment #2: Dear Luis,
|
Christoph H. Larsen <cd_larsen> |
Tue 07 Feb 2012 01:17:06 AM UTC, comment #1: Hi Chris
|
Luis Falcon <meanmicio> |
Mon 06 Feb 2012 05:57:00 PM UTC, original submission:
Dear All,
|
Christoph H. Larsen <cd_larsen> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 11 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-04-27 | teffalump | Status | Need Info | Fixed | |
Open/Closed | Open | Closed | |||
Module | health | ||||
2012-02-20 | cd_larsen | Attached File | - | Added CORRECT LISTING: Screenshot-Tryton-Parties.png, #25090 | |
Attached File | - | Added CORRECT LISTING: Screenshot-Tryton-Users.png, #25091 | |||
Attached File | - | Added INCORRECT LISTING: Screenshot-Tryton-Employees.png, #25092 | |||
Attached File | - | Added CONFUSING LISTING: Screenshot-Tryton-Patients.png, #25093 | |||
2012-02-07 | meanmicio | Status | None | Need Info | |
Assigned to | None | meanmicio | |||
2012-02-06 | cd_larsen | Attached File | - | Added Screenshot - Parties.png, #24997 | |
Attached File | - | Added Screenshot - Patients.png, #24998 |
Powered by Savane 3.13-4448.
Corresponding source code
I'll summarize.
Employees: dispays rec_name (lastname, first) or just first name. Seems to be first name ordering.
Patients: displays last name and rec_name (last, first). Redundant. Ordering by first name on column. Problem.
Prescriptions seems to be ok, from what I can see. Correct rec_names. You can search by PUID, etc.
Fix: Hide the lastname field (tree_invisible="1") on the Patients view which doesn't show the column, but allows a filter on Lastname: <search_term>. Order people by lastname fixed by adding cls._order_name = 'lastname' on party.party model.
Hopefully this fix does what seems intuitive to the user when sorting by names...and doesn't break anything downstream.