Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
db6acf8c
Commit
db6acf8c
authored
Dec 06, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use current data model.
parent
55318747
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_getCurrentHostingSubscriptionList.xml
..._hosting/WebSection_getCurrentHostingSubscriptionList.xml
+2
-4
master/bt5/slapos_web/bt/revision
master/bt5/slapos_web/bt/revision
+1
-1
No files found.
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_getCurrentHostingSubscriptionList.xml
View file @
db6acf8c
...
@@ -53,13 +53,11 @@
...
@@ -53,13 +53,11 @@
<value>
<string>
from Products.ZSQLCatalog.SQLCatalog import NegatedQuery, Query\n
<value>
<string>
from Products.ZSQLCatalog.SQLCatalog import NegatedQuery, Query\n
\n
\n
portal = context.getPortalObject()\n
portal = context.getPortalObject()\n
person_
reference = portal.ERP5Site_getPropertyFromAuthenticatedMemberPersonValue(\'reference
\')\n
person_
uid = portal.ERP5Site_getPropertyFromAuthenticatedMemberPersonValue(\'uid
\')\n
\n
\n
# XXX Owner column should not be used to fetch the list!\n
# Data model of hosting subscription should be fixed to allow direct query\n
return portal.portal_catalog(\n
return portal.portal_catalog(\n
portal_type="Hosting Subscription",\n
portal_type="Hosting Subscription",\n
owner=person_reference
,\n
default_destination_section_uid=person_uid
,\n
validation_state=\'validated\'\n
validation_state=\'validated\'\n
)\n
)\n
</string>
</value>
</string>
</value>
...
...
master/bt5/slapos_web/bt/revision
View file @
db6acf8c
14
15
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment