6.0.0-beta1
8/10/25

[#5246] Param $fields in searchClients API call
Summary Param $fields in searchClients API call
Queue Turba
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners
Requester thomas (at) gelf (dot) net
Created 04/11/2007 (6696 days ago)
Due
Updated 04/15/2007 (6692 days ago)
Assigned 04/11/2007 (6696 days ago)
Resolved 04/14/2007 (6693 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/15/2007 10:18:51 AM thomas (at) gelf (dot) net Comment #5 Reply to this comment
Thanks!
04/14/2007 12:13:43 AM Michael Rubinsky Comment #4
State ⇒ Resolved
Reply to this comment
Make sense to me...



Committed, thanks!


04/12/2007 07:16:29 AM thomas (at) gelf (dot) net Comment #3 Reply to this comment
a) You're right, it's not really a bug, I would call it a 
misbehaviour. But feel free to move the ticket to the "Feature Request 
Queue".

b) I'm pleased to hear that atm there is no Horde App using 
searchClients with the $fields param - so this little patch should not 
do any harm at all :-)

c) In my believes API calls to "searchClients" should behave exactly 
like API calls to "search" - with the little difference, that you 
absolutely shouldn't need to know the client address book's name. My 
small modification doesn't do anything else.

d) Motivation: I'm currently modifying Hermes in a way allowing me to 
choose clients from a Search-Popup (similar to IMP's address book 
popup, but simpler). A Dropdown box with thousends of clients is not 
really useful and also putting some heavvy load on our servers ;-)
04/11/2007 09:25:49 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Reply to this comment
Not really a bug, as I don't see what is broken here.  This would only 
really matter if we were expecting to perform an OR search on each 
field passed in and I don't see anywhere within the current Horde apps 
where we do that from the client api.



Than being said, I would suggest this as a feature request as we 
should probably do this for future extensibility?



Thoughts?
04/11/2007 06:17:39 PM thomas (at) gelf (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Param $fields in searchClients API call
Queue ⇒ Turba
New Attachment: turba_searchClients.diff Download
State ⇒ Unconfirmed
Reply to this comment
Currently the $fields parameter of the "clients/searchClients" API 
call requires

us to know the name of the "clients" addressbook (and we don't want to have

to know it). This little patch should fix it.



Cheers,

Thomas Gelf


Saved Queries