From 6f7690aecce0bc0f46112bd76ceb26e07dd39cba Mon Sep 17 00:00:00 2001
From: Domizio Demichelis
Date: Fri, 18 Oct 2024 14:05:31 +0200
Subject: [PATCH] Fix typo in code comment [skip-log]
---
gem/lib/pagy/extras/calendar.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gem/lib/pagy/extras/calendar.rb b/gem/lib/pagy/extras/calendar.rb
index 8fc7fc327..4b409363c 100644
--- a/gem/lib/pagy/extras/calendar.rb
+++ b/gem/lib/pagy/extras/calendar.rb
@@ -46,7 +46,7 @@ def pagy_calendar_filter(*)
# Override the pagy_anchor
module FrontendOverride
- # Consider the vars[:count]
+ # Consider the vars[:counts]
def pagy_anchor(pagy, anchor_string: nil)
return super unless (counts = pagy.vars[:counts])