mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Merge branch '3.8'
Conflicts: lib/Alchemy/Phrasea/SearchEngine/SphinxSearch/SphinxSearchEngine.php
This commit is contained in:
@@ -341,6 +341,7 @@ class PhraseaEngine implements SearchEngineInterface
|
|||||||
|
|
||||||
$this->initialize();
|
$this->initialize();
|
||||||
$this->checkSession();
|
$this->checkSession();
|
||||||
|
$this->clearAllCache(new \DateTime('-1 hour'));
|
||||||
|
|
||||||
assert(is_int($offset));
|
assert(is_int($offset));
|
||||||
assert($offset >= 0);
|
assert($offset >= 0);
|
||||||
|
@@ -206,15 +206,6 @@ interface SearchEngineInterface
|
|||||||
*/
|
*/
|
||||||
public function clearCache();
|
public function clearCache();
|
||||||
|
|
||||||
/**
|
|
||||||
* Clear all cache prior to the given date (if applicable)
|
|
||||||
*
|
|
||||||
* If no date provided, clear all entries
|
|
||||||
*
|
|
||||||
* @return SearchEngineInterface
|
|
||||||
*/
|
|
||||||
public function clearAllCache(\DateTime $date = null);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a subscriber
|
* Returns a subscriber
|
||||||
*
|
*
|
||||||
|
@@ -1061,12 +1061,4 @@ class SphinxSearchEngine implements SearchEngineInterface
|
|||||||
{
|
{
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritdoc
|
|
||||||
*/
|
|
||||||
public function clearAllCache(\DateTime $date = null)
|
|
||||||
{
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -152,7 +152,11 @@
|
|||||||
load: function(event, ui)
|
load: function(event, ui)
|
||||||
{
|
{
|
||||||
ui.tab.find('span').empty();
|
ui.tab.find('span').empty();
|
||||||
}
|
},
|
||||||
|
create : function () {
|
||||||
|
$('#tab-upload').css('overflow', 'hidden');
|
||||||
|
},
|
||||||
|
heightStyle: "fill"
|
||||||
});
|
});
|
||||||
|
|
||||||
//Show the good collection status box
|
//Show the good collection status box
|
||||||
|
@@ -179,7 +179,11 @@ $(document).ready(function () {
|
|||||||
load: function(event, ui)
|
load: function(event, ui)
|
||||||
{
|
{
|
||||||
ui.tab.find('span').empty();
|
ui.tab.find('span').empty();
|
||||||
}
|
},
|
||||||
|
create : function () {
|
||||||
|
$('#tab-upload').css('overflow', 'hidden');
|
||||||
|
},
|
||||||
|
heightStyle: "fill"
|
||||||
});
|
});
|
||||||
|
|
||||||
//Show the good collection status box
|
//Show the good collection status box
|
||||||
|
@@ -3927,9 +3927,7 @@ dans l'onglet thesaurus : arbres, menus contextuels
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#uploadBox #tab-upload,
|
#uploadBox .ui-tabs .ui-tabs-panel {
|
||||||
#uploadBox #tab-lazaret {
|
|
||||||
height: 90%;
|
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -4051,8 +4051,7 @@ dans l'onglet thesaurus : arbres, menus contextuels
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#uploadBox #tab-upload,
|
#uploadBox .ui-tabs .ui-tabs-panel {
|
||||||
#uploadBox #tab-lazaret {
|
|
||||||
height: 90%;
|
height: 90%;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user