We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 683c0dc commit 6c98ad8Copy full SHA for 6c98ad8
src/Prismic/Api.php
@@ -437,7 +437,7 @@ public function query($q, $options = array()) {
437
} else {
438
$ref = $this->master()->getRef();
439
}
440
- $form = $this->forms()->everything->ref($this->master()->getRef());
+ $form = $this->forms()->everything->ref($ref);
441
if ($q != null && $q != "") {
442
$form = $form->query($q);
443
0 commit comments