mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 23:43:12 +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,7 +359,7 @@ 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
|
||||||
|
Reference in New Issue
Block a user