Skip to content

Pass ui parameter to all collate item_func#13981

Merged
Frenzie merged 1 commit into
koreader:masterfrom
wfdewith:collate
Jun 29, 2025
Merged

Pass ui parameter to all collate item_func#13981
Frenzie merged 1 commit into
koreader:masterfrom
wfdewith:collate

Conversation

@wfdewith

@wfdewith wfdewith commented Jun 22, 2025

Copy link
Copy Markdown
Contributor

I'd like to have the ui parameter to the item_func of a collate always available, regardless of which collate is in use and whether the item is a file or directory. This allows user patches that add new collates to access all functionality for sorting.

@hius07 It's not entirely clear to me why the self.ui parameter was only set conditionally in PathChooser in #13437. Is there a specific reason for that choice?


This change is Reviewable

@Frenzie Frenzie merged commit 97fac90 into koreader:master Jun 29, 2025
4 checks passed
@Frenzie Frenzie added this to the 2025.06 milestone Jun 29, 2025
@wfdewith wfdewith deleted the collate branch June 29, 2025 10:31
0xstillb pushed a commit to 0xstillb/koreader-thai that referenced this pull request May 9, 2026
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.

3 participants