Skip to content

Commit

Permalink
Fix exhibition browser inside a block in landing pages [WEB-2629]
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhiltri committed Sep 19, 2023
1 parent 8f80ef2 commit 208eda6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/Repositories/LandingPageRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use A17\Twill\Repositories\Behaviors\HandleRevisions;
use A17\Twill\Repositories\Behaviors\HandleSlugs;
use App\Models\LandingPage;
use App\Repositories\Behaviors\HandleApiBlocks;
use App\Repositories\Behaviors\HandleApiRelations;

class LandingPageRepository extends ModuleRepository
Expand All @@ -18,6 +19,9 @@ class LandingPageRepository extends ModuleRepository
use HandleFiles;
use HandleApiRelations;
use HandleBlocks;
use HandleApiBlocks {
HandleApiBlocks::getBlockBrowsers insteadof HandleBlocks;
}

protected $browsers = [
// Homepage landing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
public function up()
{
Schema::table('menu_items', function (Blueprint $table) {
$table->integer('page_id')->nullable();
$table->integer('page_id')->nullable()->change();
});
}

Expand Down

1 comment on commit 208eda6

@web-dev-trev
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The simplest of changes take the longest to find lol

Please sign in to comment.