Sort values

This commit is contained in:
Babibubebon 2022-11-07 00:27:16 +09:00
parent 61df31faf5
commit 9df9785295
Signed by: Babibubebon
GPG key ID: 78C8FB2A2FEA1EE3

View file

@ -11,7 +11,7 @@
<td> <td>
<ul> <ul>
@if($subject === $primaryTopic) @if($subject === $primaryTopic)
@foreach($objects as $object) @foreach(collect($objects)->sortBy('value') as $object)
<li> <li>
@if($object['type'] === 'uri') @if($object['type'] === 'uri')
<a href="{{ $object['value'] }}">{{ \EasyRdf\RdfNamespace::shorten($object['value']) ?? $object['value'] }}</a> <a href="{{ $object['value'] }}">{{ \EasyRdf\RdfNamespace::shorten($object['value']) ?? $object['value'] }}</a>