<commit_before>﻿@model FilteredOrderListModelDto
           
@{
    ViewBag.Title = "Admin Orders";
    ViewBag.DataTablesPageSize = 50;
    ViewBag.SingleColumn = false;
    ViewBag.GetMethod = "AdminOrders";
}

@section SubNav
{
	<ul class='navigation'>
        <li>@Html.ActionLink("Filters", "filters", "", new { @class = "button" })</li>
        <li>@Html.ActionLink("Update Column Preferences", "ColumnPreferences", "User", new { id = User.Identity.Name, fromList = true }, new { @class = "button" })</li>
	</ul>
}

@Html.Partial("_OrderFilter", Model)

@Html.Partial("_OrdersTable", Model)<commit_msg>added the filter toggle to admin orders page.<commit_after>﻿@model FilteredOrderListModelDto
           
@{
    ViewBag.Title = "Admin Orders";
    ViewBag.DataTablesPageSize = 50;
    ViewBag.SingleColumn = false;
    ViewBag.GetMethod = "AdminOrders";
}

@section SubNav
{
	<ul class='navigation'>
        <li><a href="#" id="filterToggle" class="button selected">Filters</a>
        <li>@Html.ActionLink("Update Column Preferences", "ColumnPreferences", "User", new { id = User.Identity.Name, fromList = true }, new { @class = "button" })</li>
	</ul>
}

@section AdditionalScripts
{
    <script type="text/javascript">
        $(function () {
            $("#filterToggle").click(function () {
                $(".dt-table-filter-header").toggle();
                $(this).toggleClass("selected");
                event.preventDefault();
            });
        });
    </script>
}

@Html.Partial("_OrderFilter", Model)

@Html.Partial("_OrdersTable", Model)

{'fraction_non_alphanumeric': 0.1682600382409178, 'fraction_numerical': 0.0025493945188017845, 'mean_word_length': 3.289617486338798, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, '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': '6806168', 'n_tokens_mistral': 484, 'n_tokens_neox': 482, 'n_words': 95}