Author: sevein
Date: Thu May 3 17:58:42 2012
New Revision: 11628
Log:
Restrict search to authorized form of name field for now
Modified:
branches/2.0/apps/qubit/modules/actor/actions/browseAction.class.php
Modified: branches/2.0/apps/qubit/modules/actor/actions/browseAction.class.php
==============================================================================
--- branches/2.0/apps/qubit/modules/actor/actions/browseAction.class.php
Thu May 3 17:47:21 2012 (r11627)
+++ branches/2.0/apps/qubit/modules/actor/actions/browseAction.class.php
Thu May 3 17:58:42 2012 (r11628)
@@ -63,6 +63,7 @@
{
$queryText = new Elastica_Query_QueryString($request->subquery);
$queryText->setDefaultOperator('AND');
+ $queryText->setDefaultField('i18n.authorizedFormOfName');
$queryBool->addMust($queryText);
}
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.