Skip to content

Commit

Permalink
Spelling dix for no-theme display
Browse files Browse the repository at this point in the history
Updated version to 3.0.1
Fix to #21
  • Loading branch information
Woland2k committed Oct 27, 2017
1 parent 2449d77 commit c735e47
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

<ItemGroup>
<PackageReference Include="DotLiquid.VirtoCommerce" Version="1.8.3" />
<PackageReference Include="LibSassHost" Version="1.0.4" />
<PackageReference Include="LibSassHost.Native.debian-x64" Version="1.0.4" />
<PackageReference Include="LibSassHost.Native.win-x64" Version="1.0.4" />
<PackageReference Include="LibSassHost.Native.win-x86" Version="1.0.4" />
<PackageReference Include="LibSassHost" Version="1.1.0" />
<PackageReference Include="LibSassHost.Native.linux-x64" Version="1.1.0" />
<PackageReference Include="LibSassHost.Native.win-x64" Version="1.1.0" />
<PackageReference Include="LibSassHost.Native.win-x86" Version="1.1.0" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
<PackageReference Include="PagedList.Core" Version="1.17.4" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions VirtoCommerce.Storefront/Domain/Catalog/CatalogService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ private async Task<Category[]> InnerGetCategoriesAsync(string[] ids, WorkContext

private async Task<IPagedList<Category>> InnerSearchCategoriesAsync(CategorySearchCriteria criteria, WorkContext workContext)
{
var cacheKey = CacheKey.With(GetType(), "InnerSearchCategoriesAsync", criteria.GetHashCode().ToString());
var cacheKey = CacheKey.With(GetType(), "InnerSearchCategoriesAsync", criteria.GetHashCode().ToString(), workContext.CurrentStore.Id);
var searchResult = await _memoryCache.GetOrCreateExclusiveAsync(cacheKey, async (cacheEntry) =>
{
cacheEntry.AddExpirationToken(CatalogCacheRegion.CreateChangeToken());
Expand All @@ -227,7 +227,7 @@ private async Task<IPagedList<Category>> InnerSearchCategoriesAsync(CategorySear

private async Task<CatalogSearchResult> InnerSearchProductsAsync(ProductSearchCriteria criteria, WorkContext workContext)
{
var cacheKey = CacheKey.With(GetType(), "InnerSearchProductsAsync", criteria.GetHashCode().ToString());
var cacheKey = CacheKey.With(GetType(), "InnerSearchProductsAsync", criteria.GetHashCode().ToString(), workContext.CurrentStore.Id);
return await _memoryCache.GetOrCreateExclusiveAsync(cacheKey, async (cacheEntry) =>
{
cacheEntry.AddExpirationToken(CatalogCacheRegion.CreateChangeToken());
Expand Down
2 changes: 1 addition & 1 deletion VirtoCommerce.Storefront/Views/Common/NoTheme.cshtml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div id="feature">
<div id="content">
<h1>Virto Commerce storefront has been successfully deployed</h1>
<p>Looks like you missing a theme :(</p>
<p>Looks like you're missing a theme :(</p>
@if (Model != null)
{
<p>We looked for 'index.liquid' view in the following locations</p>
Expand Down
9 changes: 6 additions & 3 deletions VirtoCommerce.Storefront/VirtoCommerce.Storefront.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@
<PackageLicenseUrl>https://virtocommerce.com/open-source-license</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/VirtoCommerce/vc-storefront-core</PackageProjectUrl>
<RepositoryUrl>https://github.com/VirtoCommerce/vc-storefront-core</RepositoryUrl>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<FileVersion>3.0.0.0</FileVersion>
<Version>3.0.0</Version>
<AssemblyVersion>3.0.1.0</AssemblyVersion>
<FileVersion>3.0.1.0</FileVersion>
<Version>3.0.1</Version>
<Copyright>Copyright © 2011-2017 Virto Commerce - an enterprise Microsoft ecommerce platform ©. All rights reserved</Copyright>
<PackageIconUrl>https://virtocommerce.com/themes/assets/logo.jpg</PackageIconUrl>
<PackageReleaseNotes>[PRE-RELEASE]
Updates to libsass dll to support macosx and linux docker deployments.
Fix to correct displaying correct categories when switching a store.</PackageReleaseNotes>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit c735e47

Please sign in to comment.