Skip to content

Commit

Permalink
Individuals filter fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
UksusoFF committed Jun 23, 2020
1 parent 948c0f6 commit 62adc5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/DatabaseHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function getMediaList(?string $media, ?string $person, ?string $search, i
}

if ($person !== null) {
$query->where('f_coordinates', 'LIKE', "%\"pid\":\"{$search}\"%");
$query->where('f_coordinates', 'LIKE', "%\"pid\":\"{$person}\"%");
}

if ($search !== null) {
Expand Down

0 comments on commit 62adc5d

Please sign in to comment.