Skip to content

fix: replace hideArchived param with showArchived, adjust actions#788

Open
tomrndom wants to merge 2 commits intomasterfrom
feature/show_archive_items_instead_of_hide
Open

fix: replace hideArchived param with showArchived, adjust actions#788
tomrndom wants to merge 2 commits intomasterfrom
feature/show_archive_items_instead_of_hide

Conversation

@tomrndom
Copy link

@tomrndom tomrndom commented Feb 10, 2026

ref: https://app.clickup.com/t/86b7v230m

Signed-off-by: Tomás Castillo tcastilloboireau@gmail.com

Summary by CodeRabbit

  • New Features

    • Add a modal for adding sponsor page templates by selecting pages and add‑ons.
  • Refactor

    • Replace "Hide archived" with explicit "Show archived" across UI labels, controls, list behavior, API request parameters, state shape, and tests.
    • Remove obsolete trailing archived flag from multiple template-listing calls and corresponding tests.

@tomrndom tomrndom requested a review from smarcet February 10, 2026 12:44
@coderabbitai
Copy link

coderabbitai bot commented Feb 10, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Renames archived-items flag hideArchivedshowArchived across actions, reducers, components, tests, and i18n; updates filters to is_archived==${showArchived ? 1 : 0}. Adds AddSponsorPageTemplatePopup component (Formik modal) wired to Redux for selecting sponsor pages and add‑ons.

Changes

Cohort / File(s) Summary
Action Creators - Archive Flag
src/actions/form-template-actions.js, src/actions/form-template-item-actions.js, src/actions/page-template-actions.js, src/actions/inventory-item-actions.js, src/actions/sponsor-forms-actions.js, src/actions/sponsor-pages-actions.js
Public signatures and call-site param objects renamed hideArchivedshowArchived. Request payloads updated and filter construction changed to is_archived==${showArchived ? 1 : 0} (conditional inclusion of filter[] where applicable).
List Page Components - Prop & Handler Rename
src/pages/sponsors-global/.../form-template-list-page.js, src/pages/sponsors-global/.../form-template-item-list-page.js, src/pages/sponsors-global/.../page-template-list-page.js, src/pages/sponsors-global/.../inventory-list-page.js, src/pages/sponsors/.../sponsor-forms-list-page/index.js, src/pages/sponsors/.../sponsor-form-item-list-page/index.js, src/pages/sponsors/.../sponsor-pages-list-page/index.js, src/pages/sponsors/.../sponsor-forms-tab/index.js, src/pages/sponsors/.../manage-items/sponsor-forms-manage-items.js
Component props renamed hideArchivedshowArchived. Internal handlers renamed (handleHideArchived*handleShowArchived*). All data fetch calls updated to pass showArchived. Checkbox bindings and i18n keys switched to show_archived.
Template Dialogs - Call-Site Args
src/components/select-page-template-dialog/index.js, src/pages/sponsors/sponsor-forms-list-page/components/global-template/select-templates-dialog.js
Removed trailing boolean argument from getPageTemplates / getGlobalTemplates call sites (call arity reduced to align with renamed param semantics).
Reducers - State Shape Update
src/reducers/sponsors/sponsor-forms-list-reducer.js, src/reducers/sponsors/sponsor-page-forms-list-reducer.js, src/reducers/sponsors/sponsor-pages-list-reducer.js, src/reducers/sponsors/sponsor-form-items-list-reducer.js, src/reducers/sponsors/sponsor-customized-form-items-list-reducer.js, src/reducers/sponsors_inventory/form-template-list-reducer.js, src/reducers/sponsors_inventory/form-template-item-list-reducer.js, src/reducers/sponsors_inventory/inventory-item-list-reducer.js, src/reducers/sponsors_inventory/page-template-list-reducer.js
DEFAULT_STATE and REQUEST action payload destructuring updated: hideArchivedshowArchived. State assignments and returned state now carry showArchived.
Tests - Assertions & Mocks
src/reducers/sponsors/__tests__/sponsor-form-items-list-reducer.test.js, src/components/select-page-template-dialog/__tests__/select-page-template-dialog.test.js, src/actions/__tests__/sponsor-forms-actions.test.js
Updated tests to expect showArchived in reducer state and request payloads; removed trailing boolean in mocked getPageTemplates calls and adjusted assertions accordingly.
Translations
src/i18n/en.json
Localization keys and visible copy changed from hide_archivedshow_archived across relevant entries.
New Component - Sponsor Page Template Popup
src/pages/sponsors/sponsor-pages-tab/components/sponsor-page-template-popup.js
Adds AddSponsorPageTemplatePopup: Formik/Yup modal connected to Redux (getSponsorPages) for selecting sponsor pages and add‑ons with search, sort, pagination, validation, and submit callback (new exported connected component).

Sequence Diagram(s)

sequenceDiagram
  participant User
  participant Popup as AddSponsorPageTemplatePopup
  participant Redux as Redux Action
  participant API as Backend API

  User->>Popup: open modal / interact (search/sort/page)
  Popup->>Redux: dispatch getSponsorPages(term,page,perPage,order,orderDir,showArchived)
  Redux->>API: GET /sponsor-pages?term=...&page=...&filter[]=is_archived==${showArchived ? 1 : 0}
  API-->>Redux: sponsor pages payload
  Redux-->>Popup: receive pages via props
  User->>Popup: select pages + add_ons → submit
  Popup->>User: call onSubmit({ pages, add_ons })
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Possibly related PRs

Suggested reviewers

  • smarcet
  • santipalenque
  • gcutrini

Poem

🐰 I hopped through props both old and new,
showArchived waved where hideArchived flew,
Lists and reducers learned the new name,
A popup came to join the game,
I nibbled a carrot — code better by two!

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main refactoring: replacing hideArchived with showArchived parameter and adjusting related actions throughout the codebase.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/show_archive_items_instead_of_hide

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (4)
src/pages/sponsors/sponsor-forms-tab/index.js (1)

124-167: ⚠️ Potential issue | 🔴 Critical

Fix leftover hideArchived references (runtime error).
hideArchived is undefined and will throw when these branches execute.

🛠️ Suggested fix
-        hideArchived
+        showArchived
...
-        hideArchived
+        showArchived
src/actions/sponsor-forms-actions.js (1)

253-301: ⚠️ Potential issue | 🟡 Minor

Add showArchived to the request payload for consistency with similar actions.
getGlobalTemplates uses showArchived in the API filter but omits it from the payload object passed to createAction. Other similar actions like getSponsorManagedForms, getSponsorForms, and getFormTemplates include showArchived in their payload, making it available in reducer state. While the reducer doesn't currently use it, this inconsistency should be corrected for maintainability and to align with the established pattern.

Suggested fix
-      { order, orderDir, page, term }
+      { order, orderDir, page, term, showArchived }
src/pages/sponsors-global/form-templates/form-template-item-list-page.js (1)

258-271: ⚠️ Potential issue | 🟡 Minor

Missing checked prop on Checkbox - checkbox state won't reflect current filter.

The Checkbox is missing the checked={showArchived} prop, so it won't visually reflect the current archived filter state from Redux. Other similar pages in this PR (e.g., form-template-list-page.js at line 258, inventory-list-page.js at line 233) correctly bind checked={showArchived}.

Proposed fix
                 <Checkbox
                   onChange={handleShowArchivedForms}
+                  checked={showArchived}
                   inputProps={{
                     "aria-label": T.translate(
                       "form_template_item_list.show_archived"
                     )
                   }}
                 />
src/pages/sponsors/sponsor-form-item-list-page/index.js (1)

237-250: ⚠️ Potential issue | 🟡 Minor

Missing checked prop on Checkbox - checkbox state won't reflect current filter.

Same issue as in form-template-item-list-page.js: the Checkbox is missing checked={showArchived}, so it won't visually reflect the current archived filter state.

Proposed fix
               <Checkbox
                 onChange={handleShowArchivedForms}
+                checked={showArchived}
                 inputProps={{
                   "aria-label": T.translate(
                     "sponsor_form_item_list.show_archived"
                   )
                 }}
               />
🤖 Fix all issues with AI agents
In `@src/pages/sponsors-global/page-templates/page-template-list-page.js`:
- Around line 207-212: The Checkbox inside FormControlLabel is missing the
controlled checked prop so its UI won't reflect the current filter; update the
JSX where FormControlLabel/Checkbox are rendered to pass checked={showArchived}
to the Checkbox (keeping the existing onChange={handleShowArchived}) so the
component is controlled and stays in sync with the showArchived state.

In `@src/pages/sponsors/sponsor-forms-list-page/index.js`:
- Around line 186-196: The Checkbox is uncontrolled and can drift from app
state; bind its checked prop to the showArchived state so the UI reflects the
reducer value. Update the Checkbox inside FormControlLabel to pass
checked={showArchived} (while keeping onChange={handleShowArchivedForms} and
aria-label) so the component stays in sync with the showArchived reducer value.

In `@src/pages/sponsors/sponsor-forms-tab/index.js`:
- Around line 286-296: The Checkbox is using the wrong prop for control: replace
the prop named value with checked so the component reflects the showArchived
state; update the JSX where Checkbox is rendered (the element using showArchived
and handleShowArchivedForms) to pass checked={showArchived} instead of
value={showArchived} and keep onChange={handleShowArchivedForms} and existing
inputProps/label as-is so the checkbox becomes a controlled component.

In
`@src/pages/sponsors/sponsor-pages-tab/components/sponsor-page-template-popup.js`:
- Around line 301-304: AddSponsorPageTemplatePopup's PropTypes are incomplete;
update AddSponsorPageTemplatePopup.propTypes to declare onSubmit
(PropTypes.func.isRequired), sponsor (PropTypes.object.isRequired or a more
specific PropTypes.shape describing sponsorships), and summitId
(PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired) so the
component won't crash when it accesses sponsor.sponsorships or calls onSubmit;
optionally add AddSponsorPageTemplatePopup.defaultProps = { sponsor: {} } if you
prefer to allow missing sponsor and avoid runtime map errors.
- Around line 206-221: The Yup schema defines errors for add_ons but the UI
doesn't render them; update the form to show validation feedback for the field
named "add_ons" by reading formik.touched.add_ons and formik.errors.add_ons (via
the formik prop passed into MuiFormikSelectGroup) and render the validation
message beneath the select — either by passing error and helperText props into
MuiFormikSelectGroup or by adding a FormHelperText (with error styling) directly
under the MuiFormikSelectGroup when formik.touched.add_ons &&
formik.errors.add_ons is truthy so users see the validation error on submit.
🧹 Nitpick comments (3)
src/pages/sponsors/sponsor-pages-tab/components/sponsor-page-template-popup.js (3)

229-229: Hardcoded strings should be internationalized.

Two UI strings are not using the i18n translation system:

  • Line 229: "items selected"
  • Line 241: "sort by"
Proposed fix for i18n
-                <Grid2 size={4}>{selectedPages.length} items selected</Grid2>
+                <Grid2 size={4}>
+                  {T.translate("edit_sponsor.pages_tab.items_selected", { count: selectedPages.length })}
+                </Grid2>
-                    <SwapVertIcon fontSize="large" sx={{ mr: 1 }} /> sort by
+                    <SwapVertIcon fontSize="large" sx={{ mr: 1 }} />
+                    {T.translate("edit_sponsor.pages_tab.sort_by")}

Remember to add corresponding translation keys to your i18n files.

Also applies to: 241-241


78-90: Consider resetting local state when dialog opens.

The searchTerm state is not reset when the dialog reopens, which could leave stale search text from a previous session. Also, selectedPages should likely be cleared when the dialog opens to prevent stale selections.

Proposed fix to reset state on open
   useEffect(() => {
     if (open) {
+      setSearchTerm("");
+      setSelectedPages([]);
       getSponsorPages(
         term,
         currentPage,
         FIVE_PER_PAGE,
         order,
         orderDir,
         false,
         sponsorshipTypeIds
       );
     }
   }, [open]);

269-282: Empty state feedback when no sponsor pages exist.

The table only renders when sponsorPages.length > 0, but there's no feedback message when no pages are available. Users won't know if the list is empty vs. still loading.

Proposed fix to add empty state
             {sponsorPages.length > 0 && (
               <Box sx={{ p: 2 }}>
                 <MuiTable
                   columns={columns}
                   data={sponsorPages}
                   options={tableOptions}
                   currentPage={currentPage}
                   perPage={perPage}
                   totalRows={totalCount}
                   onSort={handleSort}
                   onPageChange={handlePageChange}
                 />
               </Box>
             )}
+            {sponsorPages.length === 0 && (
+              <Box sx={{ p: 2, textAlign: "center" }}>
+                <Typography color="text.secondary">
+                  {T.translate("edit_sponsor.pages_tab.no_pages_found")}
+                </Typography>
+              </Box>
+            )}

Comment on lines 206 to 221
<DialogContent sx={{ p: 0 }}>
<Grid2 container spacing={2} size={12} sx={{ p: 2 }}>
<MuiFormikSelectGroup
name="add_ons"
formik={formik}
queryFunction={querySponsorAddons}
// params for function, except input
queryParams={[summitId, sponsor.id, sponsorshipIds]}
showSelectAll
getGroupId={(addon) => addon.sponsorship.type.id}
getGroupLabel={(addon) => addon.sponsorship.type.type.name}
placeholder={T.translate(
"edit_sponsor.placeholders.select_add_ons"
)}
/>
</Grid2>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

No validation error display for add_ons field.

The Yup validation schema defines an error message for add_ons, but there's no UI element to display this error. If a user selects pages but no add-ons, the form submission will fail silently.

Proposed fix to show validation error
             <Grid2 container spacing={2} size={12} sx={{ p: 2 }}>
               <MuiFormikSelectGroup
                 name="add_ons"
                 formik={formik}
                 queryFunction={querySponsorAddons}
                 // params for function, except input
                 queryParams={[summitId, sponsor.id, sponsorshipIds]}
                 showSelectAll
                 getGroupId={(addon) => addon.sponsorship.type.id}
                 getGroupLabel={(addon) => addon.sponsorship.type.type.name}
                 placeholder={T.translate(
                   "edit_sponsor.placeholders.select_add_ons"
                 )}
+                error={formik.touched.add_ons && Boolean(formik.errors.add_ons)}
+                helperText={formik.touched.add_ons && formik.errors.add_ons}
               />
             </Grid2>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<DialogContent sx={{ p: 0 }}>
<Grid2 container spacing={2} size={12} sx={{ p: 2 }}>
<MuiFormikSelectGroup
name="add_ons"
formik={formik}
queryFunction={querySponsorAddons}
// params for function, except input
queryParams={[summitId, sponsor.id, sponsorshipIds]}
showSelectAll
getGroupId={(addon) => addon.sponsorship.type.id}
getGroupLabel={(addon) => addon.sponsorship.type.type.name}
placeholder={T.translate(
"edit_sponsor.placeholders.select_add_ons"
)}
/>
</Grid2>
<DialogContent sx={{ p: 0 }}>
<Grid2 container spacing={2} size={12} sx={{ p: 2 }}>
<MuiFormikSelectGroup
name="add_ons"
formik={formik}
queryFunction={querySponsorAddons}
// params for function, except input
queryParams={[summitId, sponsor.id, sponsorshipIds]}
showSelectAll
getGroupId={(addon) => addon.sponsorship.type.id}
getGroupLabel={(addon) => addon.sponsorship.type.type.name}
placeholder={T.translate(
"edit_sponsor.placeholders.select_add_ons"
)}
error={formik.touched.add_ons && Boolean(formik.errors.add_ons)}
helperText={formik.touched.add_ons && formik.errors.add_ons}
/>
</Grid2>
🤖 Prompt for AI Agents
In
`@src/pages/sponsors/sponsor-pages-tab/components/sponsor-page-template-popup.js`
around lines 206 - 221, The Yup schema defines errors for add_ons but the UI
doesn't render them; update the form to show validation feedback for the field
named "add_ons" by reading formik.touched.add_ons and formik.errors.add_ons (via
the formik prop passed into MuiFormikSelectGroup) and render the validation
message beneath the select — either by passing error and helperText props into
MuiFormikSelectGroup or by adding a FormHelperText (with error styling) directly
under the MuiFormikSelectGroup when formik.touched.add_ons &&
formik.errors.add_ons is truthy so users see the validation error on submit.

Comment on lines 301 to 304
AddSponsorPageTemplatePopup.propTypes = {
open: PropTypes.bool.isRequired,
onClose: PropTypes.func.isRequired
};
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Incomplete PropTypes definition.

The component uses onSubmit, sponsor, and summitId without default values, but these are not declared in PropTypes. This will cause runtime errors if the parent component doesn't provide them (e.g., sponsor.sponsorships.map on lines 50/52 will throw if sponsor is undefined).

Proposed fix to complete PropTypes
 AddSponsorPageTemplatePopup.propTypes = {
   open: PropTypes.bool.isRequired,
-  onClose: PropTypes.func.isRequired
+  onClose: PropTypes.func.isRequired,
+  onSubmit: PropTypes.func.isRequired,
+  sponsor: PropTypes.shape({
+    id: PropTypes.number.isRequired,
+    sponsorships: PropTypes.arrayOf(
+      PropTypes.shape({
+        id: PropTypes.number.isRequired,
+        type: PropTypes.shape({
+          id: PropTypes.number.isRequired
+        }).isRequired
+      })
+    ).isRequired
+  }).isRequired,
+  summitId: PropTypes.number.isRequired
 };
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
AddSponsorPageTemplatePopup.propTypes = {
open: PropTypes.bool.isRequired,
onClose: PropTypes.func.isRequired
};
AddSponsorPageTemplatePopup.propTypes = {
open: PropTypes.bool.isRequired,
onClose: PropTypes.func.isRequired,
onSubmit: PropTypes.func.isRequired,
sponsor: PropTypes.shape({
id: PropTypes.number.isRequired,
sponsorships: PropTypes.arrayOf(
PropTypes.shape({
id: PropTypes.number.isRequired,
type: PropTypes.shape({
id: PropTypes.number.isRequired
}).isRequired
})
).isRequired
}).isRequired,
summitId: PropTypes.number.isRequired
};
🤖 Prompt for AI Agents
In
`@src/pages/sponsors/sponsor-pages-tab/components/sponsor-page-template-popup.js`
around lines 301 - 304, AddSponsorPageTemplatePopup's PropTypes are incomplete;
update AddSponsorPageTemplatePopup.propTypes to declare onSubmit
(PropTypes.func.isRequired), sponsor (PropTypes.object.isRequired or a more
specific PropTypes.shape describing sponsorships), and summitId
(PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired) so the
component won't crash when it accesses sponsor.sponsorships or calls onSubmit;
optionally add AddSponsorPageTemplatePopup.defaultProps = { sponsor: {} } if you
prefer to allow missing sponsor and avoid runtime map errors.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/pages/sponsors/sponsor-forms-tab/index.js (1)

100-103: ⚠️ Potential issue | 🟡 Minor

Search resets archive filter state.

When searching, showArchived is not passed, causing the filter to reset to default (false). If a user has "show archived" enabled and then searches, they'll unexpectedly stop seeing archived items.

🔧 Proposed fix to preserve archive filter during search
 const handleSearch = (searchTerm) => {
-    getSponsorManagedForms(searchTerm);
-    getSponsorCustomizedForms(searchTerm);
+    getSponsorManagedForms(
+      searchTerm,
+      DEFAULT_CURRENT_PAGE,
+      managedForms.perPage,
+      managedForms.order,
+      managedForms.orderDir,
+      showArchived
+    );
+    getSponsorCustomizedForms(
+      searchTerm,
+      DEFAULT_CURRENT_PAGE,
+      customizedForms.perPage,
+      customizedForms.order,
+      customizedForms.orderDir,
+      showArchived
+    );
   };
🧹 Nitpick comments (1)
src/pages/sponsors/sponsor-forms-tab/index.js (1)

105-107: Remove debug console.log.

This appears to be a leftover debug statement.

🧹 Proposed cleanup
 const handleCustomizeForm = (item) => {
-    console.log("CUSTOMIZE : ", item);
+    // TODO: Implement customization logic
 };

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/pages/sponsors/sponsor-forms-tab/index.js (1)

100-103: ⚠️ Potential issue | 🟡 Minor

Search resets the archived filter unexpectedly.

handleSearch doesn't pass showArchived, so searching while "Show Archived" is checked will reset the filter to false and hide archived items. This is inconsistent with other handlers that preserve the filter state.

🐛 Proposed fix
 const handleSearch = (searchTerm) => {
-  getSponsorManagedForms(searchTerm);
-  getSponsorCustomizedForms(searchTerm);
+  getSponsorManagedForms(
+    searchTerm,
+    DEFAULT_CURRENT_PAGE,
+    managedForms.perPage,
+    managedForms.order,
+    managedForms.orderDir,
+    showArchived
+  );
+  getSponsorCustomizedForms(
+    searchTerm,
+    DEFAULT_CURRENT_PAGE,
+    customizedForms.perPage,
+    customizedForms.order,
+    customizedForms.orderDir,
+    showArchived
+  );
 };

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/pages/sponsors-global/page-templates/page-template-list-page.js (1)

92-101: ⚠️ Potential issue | 🟡 Minor

Reset pagination when toggling the archived filter.
Keeping currentPage can land users on an empty page if the filtered result set shrinks.

🔧 Suggested tweak
 const handleShowArchived = (ev) => {
   getPageTemplates(
     term,
-    currentPage,
+    DEFAULT_CURRENT_PAGE,
     perPage,
     order,
     orderDir,
     ev.target.checked
   );
 };

Signed-off-by: Tomás Castillo <tcastilloboireau@gmail.com>
@tomrndom tomrndom force-pushed the feature/show_archive_items_instead_of_hide branch from d51a2ae to a30dd13 Compare February 11, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant