diff --git a/resources/views/core/pages/collections/list.blade.php b/resources/views/core/pages/collections/list.blade.php index da79908..670460d 100644 --- a/resources/views/core/pages/collections/list.blade.php +++ b/resources/views/core/pages/collections/list.blade.php @@ -1,4 +1,15 @@ @props(['occurrences' => []]) +@php + $dataset_str = request('db'); + if(is_array($dataset_str)) { + $dataset_str = implode(',', $dataset_str); + } + + $taxa_str = request('taxa'); + if(is_array($taxa_str)) { + $taxa_str = implode(',', $taxa_str); + } +@endphp
+
-
Dataset: All collections
-
Taxa: (Taxa list)
-
Search Criteria: ( Figure out what this is for )
+
Dataset: {{ $dataset_str ?? 'All collections'}}
+
Taxa: {{ $taxa_str ?? '' }}
+
Search Criteria: ( TODO )
@@ -65,7 +76,9 @@ {{-- Maps --}}
- Display coordinates in Map + + Display coordinates in Map + Create KML {{-- Investigate but pretty sure this just adds info to download --}} Add Extra Fields diff --git a/resources/views/core/pagination.blade.php b/resources/views/core/pagination.blade.php index 33c4430..2352989 100644 --- a/resources/views/core/pagination.blade.php +++ b/resources/views/core/pagination.blade.php @@ -1,5 +1,5 @@ {{-- See Laravel Paginator Docs For LengthAwarePaginator properties and methods --}} -@props(['lengthAwarePaginator']) +@props(['lengthAwarePaginator', 'hx_target' => 'body']) @php $start = ($lengthAwarePaginator->currentPage() - 1 ) * $lengthAwarePaginator->perPage(); $end = $start + $lengthAwarePaginator->perPage(); @@ -14,32 +14,31 @@