fix: dev: bukuserver bookmark creation
temporary fix until actual cause found
This commit is contained in:
parent
35aa009bf9
commit
08e81c2923
@ -154,7 +154,7 @@ class BookmarkModelView(BaseModelView):
|
||||
|
||||
def create_form(self, obj=None):
|
||||
form = super().create_form(obj)
|
||||
if 'url' in request.args.keys():
|
||||
if 'url' in request.args.keys() and not request.args.get("url").startswith('/bookmark/'):
|
||||
form.url.data = request.args.get("url")
|
||||
if 'title' in request.args.keys():
|
||||
form.title.data = request.args.get("title")
|
||||
|
Loading…
Reference in New Issue
Block a user