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

Relation refactor #375

Open
wants to merge 161 commits into
base: master
Choose a base branch
from
Open

Relation refactor #375

wants to merge 161 commits into from

Conversation

marksalmon
Copy link
Collaborator

No description provided.

renardudezert and others added 30 commits June 29, 2021 14:29
If we specify a custom agreggate (max, avg, min, ...) use this aggregate for filtering data
Also fix filtering when null values are returned with aggregates
formats & rounds a number with grouped thousands - 1000000 => 1,000,000.00 (If places set to 2) with variable places.
The highlight call is currently executed after the export callback, making it impossible to strip out the highlighting markup that is added for search results. Moving the highlighting before the export callbacks resolves this.
The highlight call is currently executed after the export callback, making it impossible to strip out the highlighting markup that is added for search results. Moving the highlighting before the export callbacks resolves this.
* Fix applied

* StyleCI

* Bit neater

Co-authored-by: Rik Thomas <[email protected]>
rickdubiel and others added 30 commits October 14, 2022 08:30
- Set variable $useThrough AFTER checking if relation is an instance of HasMany, HasManyThrough or BelongsToMany. Otherwise, it will return an error because no joins property exists for $this->query->getQuery()
Add table prefix to the table variable in the customWithAggregate and hasAggregate EloquentBuilder macros registerd by the service provider.
Added defaultFilters to Livewire Datatables
Bugfix checkboxes behavior when search or filters are active

- If the search or filter is active, we must display the count of checked rows only for "visible" items (results of search or filtered results). Therefore, the toggleSelectAll() method must also check or uncheck all "visible" items when the search or filters are active.
check which database driver is used and build the query according to its dialect. added SQLite dialect only, partially fiexs issue #183
Fix to prevent addGlobalSearch method to prepend tablePrefix when column contains '_concat_'.
It was generating a syntax error in the query, i.e.:
SQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION **DBNAME**.**TABLEPREFIX**CONCAT_WS does not exist
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.

None yet