Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
54fedc41
Commit
54fedc41
authored
Sep 22, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed to use with tag rather than REQUEST.set to avoid
getting the wrong "results".
parent
fb82351a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
lib/python/OFS/findResult.dtml
lib/python/OFS/findResult.dtml
+14
-13
No files found.
lib/python/OFS/findResult.dtml
View file @
54fedc41
...
@@ -19,23 +19,23 @@ function new_wnd()
...
@@ -19,23 +19,23 @@ function new_wnd()
<!--#/in-->
<!--#/in-->
<!--#if btn_submit-->
<!--#if btn_submit-->
<!--#
call expr="REQUEST.set('results', PrincipiaFind(this(),
<!--#
with "_.namespace(
obj_ids=obj_ids
,
results=PrincipiaFind(this()
,
obj_metatypes=obj_metatype
s,
obj_ids=obj_id
s,
obj_searchterm=obj_searchterm
,
obj_metatypes=obj_metatypes
,
obj_expr=obj_expr
,
obj_searchterm=obj_searchterm
,
obj_mtime=obj_mtime
,
obj_expr=obj_expr
,
obj_mspec=obj_mspec
,
obj_mtime=obj_mtime
,
obj_permission=obj_permission
,
obj_mspec=obj_mspec
,
obj_roles=obj_roles
,
obj_permission=obj_permission
,
search_sub=search_sub
,
obj_roles=obj_roles
,
REQUEST=REQUEST))"-->
search_sub=search_sub,
<!--#call expr="REQUEST.set('result_len', _.len(results
))"-->
REQUEST=REQUEST
))"-->
<!--#if results-->
<!--#if results-->
<HR>
<HR>
<STRONG>
<STRONG>
Found <!--#var result
_len--> item<!--#if expr="result_len
!= 1"-->s<!--#/if-->.
Found <!--#var result
s fmt=collection-length--> item<!--#if expr="_.len(results)
!= 1"-->s<!--#/if-->.
</STRONG>
</STRONG>
<HR>
<HR>
...
@@ -65,6 +65,7 @@ No items were found matching this query.
...
@@ -65,6 +65,7 @@ No items were found matching this query.
</STRONG>
</STRONG>
<HR>
<HR>
<!--#/if-->
<!--#/if-->
<!--#/with-->
<!--#/if-->
<!--#/if-->
</BODY>
</BODY>
...
...
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