Skip to content

Commit

Permalink
query published instead of status
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed Jan 12, 2024
1 parent 801e954 commit 1124df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tags/Collection/Entries.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ protected function queryStatus($query)
return;
}

return $query->where('status', 'published');
return $query->where('published', true);
}

protected function queryPastFuture($query)
Expand Down

0 comments on commit 1124df8

Please sign in to comment.