I've looked widely around the forums and wiki but can't see a reference to this problem - searched for 'leading spaces' and etc. Did see what looked like people struggling with similar symptoms, with potentialoly the same root cause, but folks hadn't made the connection to leading spaces.
I'm talking here about the search facilities within a module, not the top-left search box.
I) Search text box doesn't strip leading spaces (eg Contact search boxes, or Account search boxes)
Sugar allows you when searching to have a leading space character in the search textbox - and it then will only match on records that also have a leading space! ie mostly none. This means that users who accidentally add a leading space, or who cut+past text into the search box can sometimes but not always find a record is 'missing'... = confused users!
ie Firstname:'Fred' (note no leadigng space)
can't be found if you type ' fred' (with leading space) in the search box - but the user doesn't see the extra space, so is confused - 'where did all the Freds go?!'
Solution: the search box should strip leading spaces - should be easy?
II) related - new records can have fields with leading spaces.
when adding Contacts or Accounts, Sugar allows leading spaces in most of the fields (first name / last name, address fields, telephone fields etc).
This means that you can't find them by searching, unless you use a leading space in the search textbox!
= confused users who've just added a record and can't find it afterwards by searching, but may stumble across it elsewhere
Solution: as above, the Edit fields should strip leading spaces before a record is saved.
Seems like a simple fix (I'm not a programmer) - I have PHP colleagues here I could ask to check it out ad submit changes - but can't believe this hasn't been addressed somehow already?
I'm using Firefox browser: Our server has SugarCRM Version 4.5.1d (Build 1273), OpenSource: no modules added or changed. Installed by my colleagues, on top of our existing Apache/MySQL/PHP set-up.
thanks for any input.
DJ
On Linux(fedora core 5) Apache (2.2.0 fedora). MySQL (5.0.22), PHP (5.1.6 - hope I've got this right)


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks