Rename ResponseOrder default value. Move switch NoSettings to default.

This commit is contained in:
Sergey Chebotar 2021-12-07 08:34:48 +03:00
parent f4ea6bd071
commit 1136d5e94a
2 changed files with 2 additions and 4 deletions

View File

@ -51,11 +51,9 @@ namespace Rehau.Sku.Assist
case ResponseOrder.Series:
baseUri.Query = "dir=asc&order=sch_product_series&q=" + cleanedRequest;
break;
case ResponseOrder.NoSettings:
default:
baseUri.Query = "q=" + cleanedRequest;
break;
default:
throw new ArgumentException();
}
return baseUri.Uri;

View File

@ -7,7 +7,7 @@ namespace Rehau.Sku.Assist
{
public enum ResponseOrder
{
NoSettings,
Default,
Relevance,
Name,
Price,