<commit_before>﻿@model EPiServer.Reference.Commerce.Site.Features.Search.ViewModels.SearchViewModel<EPiServer.Reference.Commerce.Site.Features.Search.Pages.SearchPage>
@{
    if (Request.IsAjaxRequest())
    {
        Layout = null;
    }
}
<div class="row category-page">
    @if (Model.HasError)
    {
        <div class="col-md-12 text-danger">@Model.ErrorMessage</div>
    }
    else
    {
        @Html.Partial("_Facet", Model.FilterOption)
        using (Html.BeginForm("Index", "Search", FormMethod.Get, new { @class = "jsSearchForm" }))
        {
            <div class="col-md-9">
                @Html.Partial("_ProductList", Model.ProductViewModels)
            </div>
            <input class="jsSearchPage" id="FilterOption_Page" name="FilterOption.Page" type="hidden" value="@(Model.FilterOption.Page + 1)" />
        }
    }
</div><commit_msg>EQB-169 [Search] Filtering is not working on Search Results pages<commit_after>﻿@model EPiServer.Reference.Commerce.Site.Features.Search.ViewModels.SearchViewModel<EPiServer.Reference.Commerce.Site.Features.Search.Pages.SearchPage>
@{
    if (Request.IsAjaxRequest())
    {
        Layout = null;
    }
}
<div class="row category-page">
    @if (Model.HasError)
    {
        <div class="col-md-12 text-danger">@Model.ErrorMessage</div>
    }
    else
    {
        using (Html.BeginForm("Index", "Search", FormMethod.Get, new { @class = "jsSearchForm" }))
        {
            @Html.Partial("_Facet", Model.FilterOption)
            <div class="col-md-9">
                @Html.Partial("_ProductList", Model.ProductViewModels)
            </div>
            <input class="jsSearchPage" id="FilterOption_Page" name="FilterOption.Page" type="hidden" value="@(Model.FilterOption.Page + 1)" />
        }
    }
</div>
{'fraction_non_alphanumeric': 0.15406320541760724, 'fraction_numerical': 0.006207674943566591, 'mean_word_length': 2.8293736501079914, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4940330', 'n_tokens_mistral': 567, 'n_tokens_neox': 552, 'n_words': 82}