Auto run query for unique attributes when link is clicked

This commit is contained in:
Deon George 2009-09-08 15:41:32 +10:00
parent 242d06673a
commit 352a87fee8

View File

@ -587,7 +587,7 @@ class ldap_pla extends ldap {
foreach ($results as $values)
# If one of the attributes is owned to somebody else, then we may as well die here.
if ($values['dn'] != $dn) {
$href = sprintf('cmd.php?cmd=query_engine&server_id=%s&filter=%s&scope=sub&query=none&format=list',$this->index,$query['filter']);
$href = sprintf('cmd.php?cmd=query_engine&server_id=%s&filter=%s&scope=sub&query=none&format=list&search=true',$this->index,$query['filter']);
system_message(array(
'title'=>_('Attribute value would not be unique'),