From d6a32f568ef5aa322736f789f4b7139bdc88c898 Mon Sep 17 00:00:00 2001 From: David Britch Date: Thu, 4 May 2017 10:36:05 +0100 Subject: [PATCH] Fixed crash when attempting to filter on only one item. --- .../eShopOnContainers.Core/ViewModels/CatalogViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/ViewModels/CatalogViewModel.cs b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/ViewModels/CatalogViewModel.cs index abc7f70ac..0a4f52139 100644 --- a/src/Mobile/eShopOnContainers/eShopOnContainers.Core/ViewModels/CatalogViewModel.cs +++ b/src/Mobile/eShopOnContainers/eShopOnContainers.Core/ViewModels/CatalogViewModel.cs @@ -102,7 +102,7 @@ namespace eShopOnContainers.Core.ViewModels private async Task FilterAsync() { - if (Brand == null && Type == null) + if (Brand == null || Type == null) { return; }