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

"sticker find" support for sort and window parameter and handling for integer values #1895

Merged

Conversation

jcorporation
Copy link
Member

@jcorporation jcorporation commented Nov 7, 2023

This is an enhanced version of #1885

@jcorporation
Copy link
Member Author

Squashed into one commit, rebased on current master and some code cleanups.

@jcorporation
Copy link
Member Author

@MaxKellermann: Any chance that this pull request will be merged in the near future?

@jcorporation jcorporation force-pushed the sticker_sort_window_int branch 3 times, most recently from 53c3512 to a90d969 Compare January 16, 2024 22:33
@jcorporation
Copy link
Member Author

Rebased and added an "eq" operator for int values.

@gilphilbert
Copy link

@jcorporation These changes look great, they're exactly what I was hoping for as this would also close #1103 which is to sort and limit sticker responses. Hopefully this can be merged soon!

The three new compare operators "eq", "gt" and "lt" are casting the values to int.

Sort supports:
- uri: sort by uri
- value: sort by value as string
- value_int: casts value to int

Closes MusicPlayerDaemon#1894
@jcorporation jcorporation force-pushed the sticker_sort_window_int branch from a90d969 to 45553c5 Compare March 7, 2024 19:52
@jcorporation
Copy link
Member Author

Rebase to current master

@MaxKellermann MaxKellermann merged commit 45553c5 into MusicPlayerDaemon:master Mar 11, 2024
7 checks passed
@jcorporation jcorporation deleted the sticker_sort_window_int branch May 12, 2024 20:13
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