Skip to content

Commit 7023656

Browse files
committed
fix page_or_link not storing the correct link or page_id
1 parent 1a5ed9a commit 7023656

File tree

3 files changed

+49
-1
lines changed

3 files changed

+49
-1
lines changed

.github/release-drafter.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- master
8+
9+
jobs:
10+
update_release_draft:
11+
runs-on: ubuntu-latest
12+
steps:
13+
# Drafts your next Release notes as Pull Requests are merged into "master"
14+
- uses: release-drafter/release-drafter@v5
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
18+
name-template: 'v$NEXT_PATCH_VERSION 🌈'
19+
tag-template: 'v$NEXT_PATCH_VERSION'
20+
categories:
21+
- title: '🚀 Features'
22+
labels:
23+
- 'feature'
24+
- 'enhancement'
25+
- 'added'
26+
- title: '🐛 Bug Fixes'
27+
labels:
28+
- 'fix'
29+
- 'bugfix'
30+
- 'bug'
31+
- 'fixed'
32+
- title: '⚙️ Changes'
33+
labels:
34+
- 'changed'
35+
- 'dependencies'
36+
- title: '🧰 Removed'
37+
label: 'removed'
38+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
39+
template: |
40+
## Changes
41+
42+
$CHANGES

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
66

77
-------------
88

9+
## 2.0.2 - 2019-10-04
10+
11+
### Fixed
12+
- page_or_link field not storing the link;
13+
14+
915
## 2.0.1 - 2019-09-25
1016

1117
### Fixed

src/app/Http/Controllers/Admin/MenuItemCrudController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function setup()
4949
'model' => "\Backpack\MenuCRUD\app\Models\MenuItem",
5050
]);
5151
$this->crud->addField([
52-
'name' => 'type',
52+
'name' => ['type', 'link', 'page_id'],
5353
'label' => 'Type',
5454
'type' => 'page_or_link',
5555
'page_model' => '\Backpack\PageManager\app\Models\Page',

0 commit comments

Comments
 (0)