mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
Tweake Joe's change to admin_users to revert the code that joins against the items
table; it's not clear that this is going to be efficient for large data sets.
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
<?= ($user->last_login == 0) ? "" : gallery::date($user->last_login) ?>
|
||||
</td>
|
||||
<td>
|
||||
<?= $user->item_count ?>
|
||||
<?= db::build()->from("items")->where("owner_id", "=", $user->id)->count_records() ?>
|
||||
</td>
|
||||
<td>
|
||||
<a href="<?= url::site("admin/users/edit_user_form/$user->id") ?>"
|
||||
|
||||
Reference in New Issue
Block a user