6.0.0-beta1
7/7/25

[#6536] Different default directories for search and browse
Summary Different default directories for search and browse
Queue Turba
Queue Version Git master
Type Enhancement
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester kkonstan (at) duth (dot) gr
Created 03/28/2008 (6310 days ago)
Due
Updated 07/08/2010 (5478 days ago)
Assigned
Resolved 07/08/2010 (5478 days ago)
Milestone
Patch No

History
07/08/2010 06:23:05 PM Michael Rubinsky Comment #4
Assigned to Michael Rubinsky
State ⇒ Resolved
Version ⇒ Git master
Reply to this comment
Added for Turba 3
07/08/2010 06:22:31 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git for this ticket:

If default addressbook is not browsable, try one from the addressbook pref.
Bug: 6536

http://git.horde.org/diff.php/turba/browse.php?rt=horde-git&r1=283b143b7ab4b1ea4097530b7889e526eafe394e&r2=840e1c7ffdb2fa6880e207de8d92bf4d6f7b77da
04/04/2008 10:23:14 AM Jan Schneider Comment #2
Priority ⇒ 1. Low
Version ⇒ HEAD
State ⇒ Accepted
Reply to this comment
Separate preference for browsing and searching address books sounds 
like too much overhead to me. But automatically picking the first 
browseable address book from the addresbooks preference if the default 
address book is not browseable seems to be a good idea.
03/28/2008 09:48:15 PM kkonstan (at) duth (dot) gr Comment #1
Priority ⇒ 2. Medium
Type ⇒ Enhancement
Summary ⇒ Different default directories for search and browse
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
State ⇒ New
Reply to this comment
Our installation has a read only non-browsable LDAP directory and a 
per-user SQL addressbook. I used the permissions system to make LDAP 
read only, so adding/modifying etc only works for SQL.



If the order of the addressbooks is set like that:



$_prefs['addressbooks'] = array(

     'value' => "localldap\nlocalsql",



Then browse.php gives a warning that the default addressbook is not 
browsable every time I pick "Turba" from the menu or from the sidebar, 
which is confusing our users. There is of course no addressbook 
selection wizard, since there is only one choice; localsql. Perhaps it 
should try the next on the list if the first one is not browsable 
instead of returning an error?



I can change the order so that localsql is first, but then 
search.php's addressbook selection wizard defaults to the first one, 
which is localsql, and not localldap, the addressbook the vast 
majority of the users would like to search.



Ideally, it should be tunable by prefs.php or conf.php so that both 
browse.php and search.php could have a seperate default addressbook 
setting (ie SQL for browse, LDAP for search).




Saved Queries