Filter out flagged entries in the original query
This commit is contained in:
parent
49f9f7fd3c
commit
fd82adc73e
3 changed files with 2 additions and 4 deletions
|
@ -29,7 +29,7 @@ public static function insertGuestbookEntry(Request $request) {
|
|||
}
|
||||
|
||||
public static function selectEntries() {
|
||||
$entries = GuestbookEntry::orderBy('created_at', 'desc')->get();
|
||||
$entries = GuestbookEntry::where("legacy_flagged", false)->orderBy('created_at', 'desc')->get();
|
||||
return $entries;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue