'koha_kohadev.creator_batches.description' isn't in GROUP BY
Fix t/db_dependent/Creators/Lib.t if strict sql modes is on
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
my @batches = ();
$params->{fields} = ['batch_id', 'description', 'count(batch_id) as _item_count'];
my ( $query, @where_args ) = _build_query( $params, 'creator_batches' );
- $query .= " GROUP BY batch_id";
+ $query .= " GROUP BY batch_id, description";
my $sth = C4::Context->dbh->prepare($query);
$sth->execute( @where_args );
if ($sth->err) {