🐞 fix: Fix count issue

This commit is contained in:
Keith Solomon
2025-03-12 11:30:36 -05:00
parent 748690aec3
commit a8560e8f2b
2 changed files with 14 additions and 24 deletions

View File

@@ -111,14 +111,6 @@ jQuery(document).ready(function ($) {
});
}
/**
* Handle form submission for filtering resources.
*/
$('#homepage-filter').on('submit', function (e) {
e.preventDefault();
triggerFiltering(1); // Start at page 1 on new form submission
});
// Handle sort order change
$('#sort-order').on('change', function () {
triggerFiltering();
@@ -135,9 +127,7 @@ jQuery(document).ready(function ($) {
triggerFiltering(1);
});
/**
* Handle pagination link clicks.
*/
// Handle pagination link clicks.
$(document).on('click', '.pagination a', function (e) {
e.preventDefault();
@@ -147,9 +137,7 @@ jQuery(document).ready(function ($) {
triggerFiltering(paged);
});
/**
* Handle removing individual filters from the "Filters Used" section.
*/
// Handle removing individual filters from the "Filters Used" section.
$(document).on('click', '.remove-filter', function (e) {
e.preventDefault();