Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Sorting by name does not work if input is a directory #224

Closed
T-3B opened this issue Nov 18, 2023 · 2 comments
Closed

[bug] Sorting by name does not work if input is a directory #224

T-3B opened this issue Nov 18, 2023 · 2 comments

Comments

@T-3B
Copy link

T-3B commented Nov 18, 2023

Simply use pqiv --sort-key=name path/to/dir, and unfortunately the loaded files (inside the specified directory) are not sorted when view them in pqiv.

This is a bit annoying when I'm reading CBZ (comic books ZIP), because most of the time inside the book there will be chapter folders and pages inside them, thus the pages won't show in order. Both chapters folder inside the comic book and the pages will be mixed (i.e. not sorted).

@NHOrus
Copy link

NHOrus commented Jan 8, 2024

I think you need to explicitly demand sort with pqiv -n or sort-key does nothing.

@T-3B
Copy link
Author

T-3B commented Jan 8, 2024

Now I feel dumb... Thanks for your help!

@T-3B T-3B closed this as completed Jan 8, 2024
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

No branches or pull requests

2 participants