mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Fix check extension for businessfields
This commit is contained in:
@@ -190,6 +190,8 @@ class module_console_checkExtension extends Command
|
|||||||
, $usr_id
|
, $usr_id
|
||||||
, FALSE
|
, FALSE
|
||||||
, PHRASEA_MULTIDOC_DOCONLY
|
, PHRASEA_MULTIDOC_DOCONLY
|
||||||
|
, ''
|
||||||
|
, array()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@@ -211,7 +211,8 @@ class searchEngine_adapter_phrasea_engine extends searchEngine_adapter_abstract
|
|||||||
{
|
{
|
||||||
$proposals = self::proposalsToHTML($this->qp['main']->proposals);
|
$proposals = self::proposalsToHTML($this->qp['main']->proposals);
|
||||||
if (trim($proposals) !== '')
|
if (trim($proposals) !== '')
|
||||||
{ return "<div style='height:0px; overflow:hidden'>" . $this->qp['main']->proposals["QRY"]
|
{
|
||||||
|
return "<div style='height:0px; overflow:hidden'>" . $this->qp['main']->proposals["QRY"]
|
||||||
. "</div><div class='proposals'>" . $proposals . "</div>";
|
. "</div><div class='proposals'>" . $proposals . "</div>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -358,13 +359,13 @@ class searchEngine_adapter_phrasea_engine extends searchEngine_adapter_abstract
|
|||||||
public function get_suggestions(Session_Handler $session)
|
public function get_suggestions(Session_Handler $session)
|
||||||
{
|
{
|
||||||
$props = array();
|
$props = array();
|
||||||
foreach($this->qp['main']->proposals['QUERIES'] as $prop)
|
foreach ($this->qp['main']->proposals['QUERIES'] as $prop)
|
||||||
{
|
{
|
||||||
$props[] = array(
|
$props[] = array(
|
||||||
'value' => $prop
|
'value' => $prop
|
||||||
, 'current' => false
|
, 'current' => false
|
||||||
, 'hits' => null
|
, 'hits' => null
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $props;
|
return $props;
|
||||||
@@ -442,7 +443,7 @@ class searchEngine_adapter_phrasea_engine extends searchEngine_adapter_abstract
|
|||||||
, false
|
, false
|
||||||
, $this->opt_search_type == 1 ? PHRASEA_MULTIDOC_REGONLY : PHRASEA_MULTIDOC_DOCONLY
|
, $this->opt_search_type == 1 ? PHRASEA_MULTIDOC_REGONLY : PHRASEA_MULTIDOC_DOCONLY
|
||||||
, $sort
|
, $sort
|
||||||
, $BF
|
, $BF
|
||||||
);
|
);
|
||||||
|
|
||||||
$total_time += $this->results[$sbas_id]['time_all'];
|
$total_time += $this->results[$sbas_id]['time_all'];
|
||||||
|
Reference in New Issue
Block a user