Skip to content

Commit

Permalink
Merge Dev (#155)
Browse files Browse the repository at this point in the history
* fix for sql_mode=only_full_group_by (#154)

* chore(deps-dev): bump phpunit/phpunit from 11.3.6 to 11.4.1 (#153)

Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 11.3.6 to 11.4.1.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/11.4.1/ChangeLog-11.4.md)
- [Commits](sebastianbergmann/phpunit@11.3.6...11.4.1)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
Memurame and dependabot[bot] authored Oct 15, 2024
1 parent 5a61d59 commit fffae1a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 34 deletions.
7 changes: 2 additions & 5 deletions app/Controllers/AbaNewsletterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,12 @@ public function index()
$addressModel = model('AbaAddressModel');

$addresses = $addressModel
->select('email, MAX(id) as id, MAX(abacus) as abacus, MAX(firstname) as firstname, MAX(lastname) as lastname') // Aggregiere andere Spalten
->where('newsletter_active', 1)
->where('email IS NOT', NULL)
->groupBy('email')
->groupBy('email') // Gruppiere nach email
->findAll();






return view('newsletter/index', [
'addresses' => $addresses
Expand Down
58 changes: 29 additions & 29 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fffae1a

Please sign in to comment.