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:
|
||||
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;
|
||||
|
@ -7,7 +7,7 @@ namespace Rehau.Sku.Assist
|
||||
{
|
||||
public enum ResponseOrder
|
||||
{
|
||||
NoSettings,
|
||||
Default,
|
||||
Relevance,
|
||||
Name,
|
||||
Price,
|
||||
|
Loading…
Reference in New Issue
Block a user