tfilos
11/01/2022, 4:14 PMsortBy
on the results, right? It looks like a Collection instance, but I'm not getting any different result when I try for example to sort by the text field 'artist' $block->getRelated('albums')->sortBy('artist')
ifox
11/01/2022, 4:15 PMtfilos
11/01/2022, 4:15 PMtfilos
11/01/2022, 4:16 PMtfilos
11/01/2022, 4:16 PMtfilos
11/01/2022, 4:19 PMHip-Hop
11/02/2022, 5:21 AMHip-Hop
11/02/2022, 6:02 AMGate::define('manage-users', function ($user) {
return $this->authorize($user, function ($user) {
return $this->userHasRole($user, [UserRole::ADMIN, UserRole::SECURITY]);
});
});
Now the user with the security role has a menu item users cms
But when I go, it says I don't have access.Hip-Hop
11/02/2022, 7:34 AMkalle
11/02/2022, 8:00 AMpboivin
11/02/2022, 9:57 PMthingasd
11/07/2022, 6:22 AMHarings Rob
11/07/2022, 7:48 AMantonioribeiro
11/08/2022, 12:56 PMsrc/resources
directly, along with src/CapsuleName/resources
? In order to have everything on the /src (instead of Twill/Capsules/CapsuleName), I overloaded the ServiceProvider: https://github.com/area17/twill-capsule-feature-flags/blob/main/src/ServiceProvider.phpthingasd
11/09/2022, 7:36 AMamargoCactus
11/10/2022, 1:45 AMamargoCactus
11/10/2022, 1:45 AMifox
11/10/2022, 3:03 AMifox
11/10/2022, 3:07 AMamargoCactus
11/10/2022, 3:38 AMifox
11/10/2022, 3:45 AMamargoCactus
11/10/2022, 3:45 AMelkex
11/10/2022, 1:40 PMifox
11/10/2022, 1:43 PMifox
11/10/2022, 1:44 PMelkex
11/10/2022, 1:46 PMelkex
11/10/2022, 1:47 PMelkex
11/10/2022, 1:48 PMkalle
11/10/2022, 2:06 PMYoung_Koekwaus
11/11/2022, 4:56 PM