mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 21:43:18 +00:00
Merge branch 'Dev' of github.com:alchemy-fr/Phraseanet into Dev
This commit is contained in:
@@ -1221,7 +1221,7 @@ class record_adapter implements record_Interface, cache_cacheableInterface
|
||||
$this->caption_record = null;
|
||||
|
||||
$xml = new DOMDocument();
|
||||
$xml->loadXML($this->get_caption()->serialize(\caption_record::SERIALIZE_XML));
|
||||
$xml->loadXML($this->get_caption()->serialize(\caption_record::SERIALIZE_XML, true));
|
||||
|
||||
$this->set_xml($xml);
|
||||
$this->reindex();
|
||||
|
@@ -433,10 +433,15 @@ if($ph_session)
|
||||
else
|
||||
$code .= "\t\t\t, '' \t\t// no sort \n" ;
|
||||
|
||||
// if($parm['businessfields'])
|
||||
// $code .= "\t\t\t, TRUE \t\t// search on business fields \n" ;
|
||||
// else
|
||||
// $code .= "\t\t\t, FALSE \t\t// do not search on business fields \n" ;
|
||||
|
||||
if($parm['businessfields'])
|
||||
$code .= "\t\t\t, TRUE \t\t// search on business fields \n" ;
|
||||
$code .= "\t\t\t," . my_var_export($base["searchcoll"]) . "\t\t// search on business fields \n" ;
|
||||
else
|
||||
$code .= "\t\t\t, FALSE \t\t// do not search on business fields \n" ;
|
||||
$code .= "\t\t\t, array() \t\t// do not search on business fields \n" ;
|
||||
|
||||
|
||||
$code .= "\t\t);" ;
|
||||
|
Reference in New Issue
Block a user