From: Jim S. <ji...@ji...> - 2004-08-23 20:07:45
|
Sorry, that patch has some other stuff in it -- I'll send a clean one later. Jim On Mon, 2004-08-23 at 20:40, Jim Smart wrote: > Hi, > > I've taken a look at bug 1014395 '"Death place" and Spouse in People > list show wrong data' - and have found an incorrect index causing the > incorrect data to be shown in the columns. > > It's a very simple change, but I've attached a patch anyway -- it's for > PeopleModel.py > > I don't think this fixes the bug totally -- whilst these columns are now > not showing incorrect data from other (hidden) fields, the 'spouse' > column is not showing any data at all. :( > > I tried taking a look at def column_spouse - but couldn't understand > what it was trying to do with fid and d2 exactly. What ever this method > is actually doing, it would make sense to refactor out the 'work' into a > get_spouse method in/on class Person (in RelLib.py). > > Hope this makes sense? The terminology is a bit different -- I speak > more java than python! > > Jim -- --------------------------- Jim Smart IT consultancy software engineering development & services e: ji...@ji... t: +44(0)1423 505207 --------------------------- |