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

Fixed #15977 - Set order by on companies #16024

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Fixed #15977 - Set order by on companies #16024

merged 1 commit into from
Jan 6, 2025

Conversation

snipe
Copy link
Owner

@snipe snipe commented Jan 6, 2025

This allows sorting by company in departments. Fixes #15977

Copy link

what-the-diff bot commented Jan 6, 2025

PR Summary

  • Enhanced Department Ordering Functionality
    The index method of DepartmentsController.php has been updated to support the ordering of departments by their associated company. This new feature aims to provide a more thorough, company-oriented view for users.

  • Defined New Query Builder Scope
    A new method scopeOrderCompany has been introduced to the Department.php file. This method lays out the parameters for ordering departments using a left join operation with the companies table. This under-the-hood change improves the way our system processes and presents department data, ultimately offering a more streamlined user experience.

@snipe snipe merged commit c3d52af into develop Jan 6, 2025
8 of 9 checks passed
@snipe snipe deleted the fixes/#15977 branch January 6, 2025 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant