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')
|
$this->setPrimaryKey('id')
|
||||||
->setDefaultSort('from', 'asc')
|
->setDefaultSort('from', 'asc')
|
||||||
->setAdditionalSelects([
|
->setAdditionalSelects([
|
||||||
|
'id',
|
||||||
'bitcoin_events.id',
|
'bitcoin_events.id',
|
||||||
'bitcoin_events.venue_id'
|
'bitcoin_events.venue_id'
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ class CourseTable extends DataTableComponent
|
|||||||
public function configure(): void
|
public function configure(): void
|
||||||
{
|
{
|
||||||
$this->setPrimaryKey('id')
|
$this->setPrimaryKey('id')
|
||||||
|
->setAdditionalSelects(['id'])
|
||||||
->setThAttributes(function (Column $column) {
|
->setThAttributes(function (Column $column) {
|
||||||
return [
|
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',
|
'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')
|
->setPrimaryKey('id')
|
||||||
->setDefaultSort('from', 'asc')
|
->setDefaultSort('from', 'asc')
|
||||||
->setAdditionalSelects([
|
->setAdditionalSelects([
|
||||||
|
'id',
|
||||||
'course_id',
|
'course_id',
|
||||||
'venue_id',
|
'venue_id',
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ class LecturerTable extends DataTableComponent
|
|||||||
public function configure(): void
|
public function configure(): void
|
||||||
{
|
{
|
||||||
$this->setPrimaryKey('id')
|
$this->setPrimaryKey('id')
|
||||||
|
->setAdditionalSelects(['id'])
|
||||||
->setDefaultSort('courses_events_count', 'desc')
|
->setDefaultSort('courses_events_count', 'desc')
|
||||||
->setThAttributes(function (Column $column) {
|
->setThAttributes(function (Column $column) {
|
||||||
return [
|
return [
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ class LibraryItemTable extends DataTableComponent
|
|||||||
{
|
{
|
||||||
$this
|
$this
|
||||||
->setPrimaryKey('id')
|
->setPrimaryKey('id')
|
||||||
|
->setAdditionalSelects(['id'])
|
||||||
->setDefaultSort('order_column', 'asc')
|
->setDefaultSort('order_column', 'asc')
|
||||||
->setThAttributes(function (Column $column) {
|
->setThAttributes(function (Column $column) {
|
||||||
return [
|
return [
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ class MeetupEventTable extends DataTableComponent
|
|||||||
public function configure(): void
|
public function configure(): void
|
||||||
{
|
{
|
||||||
$this->setPrimaryKey('id')
|
$this->setPrimaryKey('id')
|
||||||
|
->setAdditionalSelects(['id'])
|
||||||
->setDefaultSort('start', 'asc')
|
->setDefaultSort('start', 'asc')
|
||||||
->setAdditionalSelects(['meetup_events.meetup_id'])
|
->setAdditionalSelects(['meetup_events.meetup_id'])
|
||||||
->setThAttributes(function (Column $column) {
|
->setThAttributes(function (Column $column) {
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ class VenueTable extends DataTableComponent
|
|||||||
public function configure(): void
|
public function configure(): void
|
||||||
{
|
{
|
||||||
$this->setPrimaryKey('id')
|
$this->setPrimaryKey('id')
|
||||||
|
->setAdditionalSelects(['id'])
|
||||||
->setDefaultSort('course_events_count', 'desc')
|
->setDefaultSort('course_events_count', 'desc')
|
||||||
->setThAttributes(function (Column $column) {
|
->setThAttributes(function (Column $column) {
|
||||||
return [
|
return [
|
||||||
|
|||||||
Reference in New Issue
Block a user