BUG 9830 "En Advanced Search no funciona la busqueda por el..." SOLVED
- Solr no esta implementado para busquedas con cualquier usuario, esto en "Advanced Search" - Se ha quitado el dropDown user en "Advanced Search" cuando Solr esta habilitado * Available from version 2.0.44
This commit is contained in:
@@ -95,12 +95,10 @@
|
||||
$oHeadPublisher->assign('PMDateFormat', $dateFormat); //sending the fields to get from proxy
|
||||
$oHeadPublisher->assign('statusValues', $status); //Sending the listing of status
|
||||
$oHeadPublisher->assign('processValues', $processes); //Sending the listing of processes
|
||||
$oHeadPublisher->assign('solrConf', System::solrEnv()); //Sending the status of solar
|
||||
$oHeadPublisher->assign('categoryValues', $category); //Sending the listing of categories
|
||||
$oHeadPublisher->assign('userValues', $users); //Sending the listing of users
|
||||
$oHeadPublisher->assign('allUsersValues',$allUsers); //Sending the listing of all users
|
||||
|
||||
|
||||
$oHeadPublisher->assign("solrEnabled", (($aux = System::solrEnv()) !== false)? 1 : 0); //Sending the status of solar
|
||||
|
||||
//menu permissions
|
||||
/*$c = new Criteria('workflow');
|
||||
|
||||
@@ -22,21 +22,12 @@ try {
|
||||
$userUid = (isset($_SESSION["USER_LOGGED"]) && $_SESSION["USER_LOGGED"] != "")? $_SESSION["USER_LOGGED"] : null;
|
||||
$user = ($user == "CURRENT_USER")? $userUid : $user;
|
||||
|
||||
/*
|
||||
if ((
|
||||
$action == "todo" || $action == "draft" || $action == "sent" || $action == "selfservice" ||
|
||||
$action == "unassigned" || $action == "search"
|
||||
)
|
||||
&&
|
||||
(($solrConf = System::solrEnv()) !== false)
|
||||
) {
|
||||
*/
|
||||
if ((
|
||||
$action == "todo" || $action == "draft" || $action == "sent" || $action == "selfservice" ||
|
||||
$action == "unassigned"
|
||||
)
|
||||
&&
|
||||
(($solrConf = System::solrEnv()) !== false)
|
||||
) {
|
||||
G::LoadClass("AppSolr");
|
||||
|
||||
@@ -46,10 +37,6 @@ try {
|
||||
$solrConf["solr_instance"]
|
||||
);
|
||||
|
||||
if ($action == "search") {
|
||||
$userUid = $user;
|
||||
}
|
||||
|
||||
$data = $ApplicationSolrIndex->getAppGridData(
|
||||
$userUid,
|
||||
$start,
|
||||
|
||||
Reference in New Issue
Block a user