- Issue created by @vnech
- Status changed to Needs review
over 1 year ago 1:31pm 26 May 2023 - Status changed to Fixed
over 1 year ago 8:24am 7 June 2023 Automatically closed - issue fixed for 2 weeks with no activity.
We have two views pages with groups: /all-groups
and /user/{uid}/groups
. On these pages groups are sorting by created
field.
But there can be a case when groups can be created with the same created
data (f.e, by migration or importing from external source). Then users can see duplicated (repeated) groups on mentioned views pages.
- Install OS from scratch;
- Execute the code (drush php:eval
):
foreach (range(1, 20) as $number) {
Drupal::entityTypeManager()->getStorage('group')
->create([
'type' => 'flexible_group',
'created' => '999999999',
'uid' => 1,
'label' => 'Example flexible group #' . $number,
])
->save();
}
- Add additional sorting by group title
n/a
n/a
n/a
n/a
Fixed
11.9
Code (back-end)
Automatically closed - issue fixed for 2 weeks with no activity.