API - add first_name and last_name fields to member api (Task #3724)


Added by Benny Weingarten over 1 year ago. Updated over 1 year ago.


Status:New Start date:12/02/2012
Priority:Normal Due Date::
Assignee:- % Done:

0%

Category:API Spent time: -
Target version:-
מתאים כמטלה ראשונה:Yes

Description

The member api http://www.oknesset.org/api/v2/member/814/?format=json is currently returning a single field (name) for the member’s name.
For purposes of ordering the members by last name, it is necessary to have a last_name field in the api.


History

Updated by Meir Kriheli over 1 year ago

אין שדות נפרדים לשמות פרטיים ושמות משפחה, יש רק שדה אחד אשר מאחסן את השם כמו שהוא. האם הפרדה על הרווח האחרון הנמצא בשם תיתן פתרון מספק ?

Updated by Benny Weingarten over 1 year ago

הפרדה לפי הרווח האחרון אינה טובה
דוגמא:
אורי יהודה אריאל
אברהם (אבי) דואן
יוליה שמואלוב ברקוביץ

האם אפשר להפריד את השמות כפי שהצעת על כולם?

Updated by בני דאון over 1 year ago

לא הבנתי - "האם אפשר להפריד את השמות כפי שהצעת על כולם?"
שיפור להצעה של מאיר, הפרדה לרווח אחרון ומעבר ידני על השמות כך ששני שמות משפחה יחוברו על ידי "-".

Also available in: Atom PDF