mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +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->checkSession();
|
||||
$this->clearAllCache(new \DateTime('-1 hour'));
|
||||
|
||||
assert(is_int($offset));
|
||||
assert($offset >= 0);
|
||||
|
@@ -206,15 +206,6 @@ interface SearchEngineInterface
|
||||
*/
|
||||
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
|
||||
*
|
||||
|
@@ -1061,12 +1061,4 @@ class SphinxSearchEngine implements SearchEngineInterface
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function clearAllCache(\DateTime $date = null)
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
@@ -152,7 +152,11 @@
|
||||
load: function(event, ui)
|
||||
{
|
||||
ui.tab.find('span').empty();
|
||||
}
|
||||
},
|
||||
create : function () {
|
||||
$('#tab-upload').css('overflow', 'hidden');
|
||||
},
|
||||
heightStyle: "fill"
|
||||
});
|
||||
|
||||
//Show the good collection status box
|
||||
|
@@ -179,7 +179,11 @@ $(document).ready(function () {
|
||||
load: function(event, ui)
|
||||
{
|
||||
ui.tab.find('span').empty();
|
||||
}
|
||||
},
|
||||
create : function () {
|
||||
$('#tab-upload').css('overflow', 'hidden');
|
||||
},
|
||||
heightStyle: "fill"
|
||||
});
|
||||
|
||||
//Show the good collection status box
|
||||
|
@@ -3927,9 +3927,7 @@ dans l'onglet thesaurus : arbres, menus contextuels
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#uploadBox #tab-upload,
|
||||
#uploadBox #tab-lazaret {
|
||||
height: 90%;
|
||||
#uploadBox .ui-tabs .ui-tabs-panel {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
|
@@ -4051,8 +4051,7 @@ dans l'onglet thesaurus : arbres, menus contextuels
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#uploadBox #tab-upload,
|
||||
#uploadBox #tab-lazaret {
|
||||
#uploadBox .ui-tabs .ui-tabs-panel {
|
||||
height: 90%;
|
||||
padding: 20px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user