No limitation on the number of item at this level. It has already been checked when preparing the query parameters
--- a/server/src/app/Libraries/Filters/CorpusFilterManager.php Thu Oct 20 19:14:37 2016 +0200
+++ b/server/src/app/Libraries/Filters/CorpusFilterManager.php Fri Oct 21 09:26:28 2016 +0200
@@ -272,7 +272,6 @@
if(is_string($languages)) {
$languages = [ $languages, ];
}
- $languages = array_slice($languages, 0, config('corpusparole.filter_max_languages_nb', 200));
$fp = $this->getLanguagesFilterPart($languages);
if(!empty($fp)) {
@@ -294,7 +293,6 @@
if(is_string($themes)) {
$themes = [$themes,]; // we know it is not empty
}
- $themes = array_slice($themes, 0, config('corpusparole.filter_max_themes_nb', 200));
$fp = $this->getThemeFilterPart($themes);
if(!empty($fp)) {
@@ -306,7 +304,6 @@
if(is_string($discourses)) {
$discourses = [$discourses,]; // we know it is not empty
}
- $discourses = array_slice($discourses, 0, config('corpusparole.filter_max_discourses_nb', 200));
$fp = $this->getDiscourseFilterPart($discourses);
if(!empty($fp)) {
@@ -319,7 +316,6 @@
if(is_string($dates)) {
$dates = [$dates,]; // we know it is not empty
}
- $dates = array_slice($dates, 0, config('corpusparole.filter_max_dates_nb', 200));
$fp = $this->getDateFilterPart($dates);
if(!empty($fp)) {