react-version #1
@ -80,7 +80,7 @@ public class SearchController : Controller {
|
||||
query = query.Trim();
|
||||
if (_searchCache is null) {
|
||||
_logger.LogError(8, "Erreur de cache.");
|
||||
return Search(query, preview, deep);
|
||||
return Search(query, preview, deep); // Fallback vers version non-cached.
|
||||
}
|
||||
try { // Pour faire une liste priorisée.
|
||||
if (preview.HasValue && preview == true)
|
||||
@ -117,7 +117,7 @@ public class SearchController : Controller {
|
||||
}
|
||||
} catch (Exception e) {
|
||||
_logger.LogError(8, e.Message);
|
||||
return Search(query, preview, deep);
|
||||
return Search(query, preview, deep); // Fallback vers version non-cached.
|
||||
}
|
||||
return products;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user