Skip to content

fix: count only the current tab and matching items in share view footers - #4447

Merged
JammingBen merged 1 commit into
mainfrom
fix/share-views-item-count
Nov 12, 2026
Merged

JammingBen merged 1 commit into
mainfrom
fix/share-views-item-count

Conversation

@JammingBen

Copy link
Copy Markdown
Member

Description

The footer item count in the share views (Shared with me, Shared with others, Shared via link and the guest view) counted all loaded shares, ignoring the active tab, search and filters.

  • The footer total now only counts the items of the current tab.
  • While a search term or filter is active, an additional "n matching items" line shows how many items match.
  • Footers of other views (spaces, favorites, trash, search results) are unchanged.
  • The resource counting moved into a shared countResources helper used by the resources store and useResourceContents.

AI assistance: Claude Code (claude-opus-5-5)

Related Issue

@JammingBen
JammingBen merged commit 508335c into main Nov 12, 2026
29 checks passed
@JammingBen
JammingBen deleted the fix/share-views-item-count branch November 12, 2026 13:43
@openclouders openclouders mentioned this pull request Nov 12, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The item count of the share views ignores the tab, the search and the filters

2 participants