Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.0.x #599

Merged
merged 6 commits into from
Feb 23, 2022
Merged

5.0.x #599

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove tracking ordering from alliance tracking datatable
  • Loading branch information
Crypta-Eve committed Feb 23, 2022
commit 4b80a77c1a4c33fc9e79dbeb342ae508a47e2efc
5 changes: 2 additions & 3 deletions src/Http/DataTables/Alliance/Intel/TrackingDataTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ public function html()
public function query()
{
return CorporationInfo::player()
->with('member_limit', 'ceo', 'alliance')
->withCount('characters')
->with('member_limit', 'ceo', 'alliance', 'characters')
->select('corporation_infos.*');
}

Expand All @@ -108,7 +107,7 @@ public function getColumns()
['data' => 'ceo.name', 'title' => trans('web::seat.ceo')],
['data' => 'tax_rate', 'title' => trans('web::seat.tax_rate')],
['data' => 'member_count', 'title' => trans('web::seat.member_count')],
['data' => 'tracking', 'title' => trans_choice('web::seat.valid_token', 2)],
['data' => 'tracking', 'title' => trans_choice('web::seat.valid_token', 2), 'orderable' => false],
];
}
}