[Koha-bugs] [Bug 6190] Custom field removal from patron entry screens

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 26 08:08:08 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6190

--- Comment #3 from Katrin Fischer <katrin.fischer at bsz-bw.de> 2011-04-26 06:08:08 UTC ---
Created attachment 4004
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4004
Patch fixed to apply to master

I attach a patch that will apply to current master. 
I had to fix the updatedatabase and the escaping in updatedatabase (patron''s)
to make it work.

Tested with:
cardnumber|surname|firstname|title|othernames|initials|streetnumber|streettype|address|address2|city|state|zipcode|country|email|phone|mobile|fax|emailpro|phonepro|B_streetnumber|B_streettype|B_address|B_address2|B_city|B_state|B_zipcode|B_country|B_email|B_phone|dateofbirth|branchcode|categorycode|dateenrolled|dateexpiry|gonenoaddress|lost|debarred|contactname|contactfirstname|contacttitle|borrowernotes|relationship|sex|password|userid|opacnote|contactnote|sort1|sort2|altcontactfirstname|altcontactsurname|altcontactaddress1|altcontactaddress2|altcontactaddress3|altcontactstate|altcontactzipcode|altcontactcountry|altcontactphone

Problems I see:
- Salutation (title) can not be hidden
- The patch is missing the translated sql files

Possible improvements:
- It works only for the edit screen, not for the patron details tab. Fields
shoud be hidden there too.
- When all fields from a block like 'Alternate contact' or 'Alternate address'
are hidden, the empty block should not show up.
- Patron account flags can not be hidden

Note:
- Category (categorycode) can not be hidden (probably by design)

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list