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 061bc37 commit 859a134Copy full SHA for 859a134
src/Widgets/Block.php
@@ -16,7 +16,8 @@ public function __construct($vars)
16
public function render()
17
{
18
$blockModel = config('rapidez.models.block');
19
+ $block = new $blockModel;
20
- return Rapidez::content($blockModel::find($this->blockId)->content);
21
+ return Rapidez::content($blockModel::where($block->getQualifiedKeyName(), $this->blockId)->orWhere($block->qualifyColumn('identifier'), $this->blockId)->first()->content);
22
}
23
0 commit comments