Rename ResponseOrder default value. Move switch NoSettings to default.
This commit is contained in:
parent
f4ea6bd071
commit
1136d5e94a
@ -51,11 +51,9 @@ namespace Rehau.Sku.Assist
|
|||||||
case ResponseOrder.Series:
|
case ResponseOrder.Series:
|
||||||
baseUri.Query = "dir=asc&order=sch_product_series&q=" + cleanedRequest;
|
baseUri.Query = "dir=asc&order=sch_product_series&q=" + cleanedRequest;
|
||||||
break;
|
break;
|
||||||
case ResponseOrder.NoSettings:
|
default:
|
||||||
baseUri.Query = "q=" + cleanedRequest;
|
baseUri.Query = "q=" + cleanedRequest;
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
throw new ArgumentException();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return baseUri.Uri;
|
return baseUri.Uri;
|
||||||
|
@ -7,7 +7,7 @@ namespace Rehau.Sku.Assist
|
|||||||
{
|
{
|
||||||
public enum ResponseOrder
|
public enum ResponseOrder
|
||||||
{
|
{
|
||||||
NoSettings,
|
Default,
|
||||||
Relevance,
|
Relevance,
|
||||||
Name,
|
Name,
|
||||||
Price,
|
Price,
|
||||||
|
Loading…
Reference in New Issue
Block a user