Skip to content

Commit

Permalink
ignore local records for permalink display (BugzID: 19931)
Browse files Browse the repository at this point in the history
  • Loading branch information
bricas committed Nov 16, 2023
1 parent 3b0f733 commit 55080a2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function permalink($id) {
$indexQuery = $index->query();
$indexQuery->addCondition('id', $id);
$indexQuery->addCondition('status', TRUE);
$indexQuery->addCondition('is_local', FALSE);
$indexQuery->range(0, 1);
$result = $indexQuery->execute();

Expand Down

0 comments on commit 55080a2

Please sign in to comment.