mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
table ids
This commit is contained in:
@@ -19,6 +19,7 @@ class BitcoinEventTable extends DataTableComponent
|
||||
$this->setPrimaryKey('id')
|
||||
->setDefaultSort('from', 'asc')
|
||||
->setAdditionalSelects([
|
||||
'id',
|
||||
'bitcoin_events.id',
|
||||
'bitcoin_events.venue_id'
|
||||
])
|
||||
|
||||
@@ -18,6 +18,7 @@ class CourseTable extends DataTableComponent
|
||||
public function configure(): void
|
||||
{
|
||||
$this->setPrimaryKey('id')
|
||||
->setAdditionalSelects(['id'])
|
||||
->setThAttributes(function (Column $column) {
|
||||
return [
|
||||
'class' => 'px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider dark:bg-gray-800 dark:text-gray-400',
|
||||
|
||||
@@ -25,6 +25,7 @@ class EventTable extends DataTableComponent
|
||||
->setPrimaryKey('id')
|
||||
->setDefaultSort('from', 'asc')
|
||||
->setAdditionalSelects([
|
||||
'id',
|
||||
'course_id',
|
||||
'venue_id',
|
||||
])
|
||||
|
||||
@@ -17,6 +17,7 @@ class LecturerTable extends DataTableComponent
|
||||
public function configure(): void
|
||||
{
|
||||
$this->setPrimaryKey('id')
|
||||
->setAdditionalSelects(['id'])
|
||||
->setDefaultSort('courses_events_count', 'desc')
|
||||
->setThAttributes(function (Column $column) {
|
||||
return [
|
||||
|
||||
@@ -24,6 +24,7 @@ class LibraryItemTable extends DataTableComponent
|
||||
{
|
||||
$this
|
||||
->setPrimaryKey('id')
|
||||
->setAdditionalSelects(['id'])
|
||||
->setDefaultSort('order_column', 'asc')
|
||||
->setThAttributes(function (Column $column) {
|
||||
return [
|
||||
|
||||
@@ -17,6 +17,7 @@ class MeetupEventTable extends DataTableComponent
|
||||
public function configure(): void
|
||||
{
|
||||
$this->setPrimaryKey('id')
|
||||
->setAdditionalSelects(['id'])
|
||||
->setDefaultSort('start', 'asc')
|
||||
->setAdditionalSelects(['meetup_events.meetup_id'])
|
||||
->setThAttributes(function (Column $column) {
|
||||
|
||||
@@ -17,6 +17,7 @@ class VenueTable extends DataTableComponent
|
||||
public function configure(): void
|
||||
{
|
||||
$this->setPrimaryKey('id')
|
||||
->setAdditionalSelects(['id'])
|
||||
->setDefaultSort('course_events_count', 'desc')
|
||||
->setThAttributes(function (Column $column) {
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user