Skip to content

Add Sorting Feature to Filterable#12

Merged
kettasoft merged 15 commits intomasterfrom
2.2.0
Aug 28, 2025
Merged

Add Sorting Feature to Filterable#12
kettasoft merged 15 commits intomasterfrom
2.2.0

Conversation

@kettasoft
Copy link
Copy Markdown
Owner

This pull request introduces a robust, configurable sorting feature to the Filterable package. Key enhancements include:

  • New sorting configuration options in config/filterable.php, allowing for sortable fields, default sorts, aliases, multi-field sorting, and nulls position control.
  • Addition of core classes and contracts to manage sorting logic (Sorter, Sortable, Invokable).
  • API changes: static and instance methods for registering and retrieving sorting logic.
  • Comprehensive documentation for sorting, including usage, config, and API references.
  • Extensive unit tests to ensure sorting reliability.

This feature empowers users to seamlessly apply complex and customizable sorting to their filterable queries.

@kettasoft kettasoft merged commit 6929dc3 into master Aug 28, 2025
1 check passed
@kettasoft kettasoft deleted the 2.2.0 branch November 18, 2025 11:03
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