Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5436679d
authored
Dec 11, 2024
by
aa.gusti
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
perbaikan url grid
1 parent
13636aad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
opensipkd/base/views/base_views.py
opensipkd/base/views/base_views.py
View file @
5436679
...
@@ -255,8 +255,10 @@ class BaseView(object):
...
@@ -255,8 +255,10 @@ class BaseView(object):
list_url
=
kwargs
.
get
(
"list_url"
,
self
.
list_url
)
list_url
=
kwargs
.
get
(
"list_url"
,
self
.
list_url
)
if
not
list_url
and
self
.
list_route
:
if
not
list_url
and
self
.
list_route
:
list_url
=
self
.
req
.
route_url
(
self
.
list_route
)
list_url
=
self
.
req
.
route_url
(
self
.
list_route
)
list_url
=
list_url
and
list_url
[
0
:
1
]
!=
"/"
and
"/"
+
list_url
or
list_url
else
:
list_url
=
self
.
home
+
list_url
list_url
=
list_url
and
list_url
[
0
:
1
]
!=
"/"
and
"/"
+
list_url
or
list_url
list_url
=
self
.
home
+
list_url
action_suffix
=
list_url
and
kwargs
.
get
(
"action_suffix"
,
"/grid/act"
)
or
None
action_suffix
=
list_url
and
kwargs
.
get
(
"action_suffix"
,
"/grid/act"
)
or
None
table
=
DeTable
(
schema
,
table
=
DeTable
(
schema
,
action
=
list_url
,
action
=
list_url
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment