Merge branch '3.8'

Conflicts:
	lib/Alchemy/Phrasea/SearchEngine/SphinxSearch/SphinxSearchEngine.php
This commit is contained in:
Nicolas Le Goff
2014-02-05 15:25:52 +01:00
7 changed files with 13 additions and 24 deletions

View File

@@ -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);

View File

@@ -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
* *

View File

@@ -1061,12 +1061,4 @@ class SphinxSearchEngine implements SearchEngineInterface
{ {
return $this; return $this;
} }
/**
* @inheritdoc
*/
public function clearAllCache(\DateTime $date = null)
{
return $this;
}
} }

View File

@@ -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

View File

@@ -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

View File

@@ -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;
} }

View File

@@ -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;
} }