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:
Victor Saisa Lopez
2012-09-26 17:30:58 -04:00
parent c28135084c
commit c6778be285
3 changed files with 10 additions and 21 deletions

View File

@@ -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');

View File

@@ -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,