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
2482f85a
Commit
2482f85a
authored
Jan 16, 2001
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sort the "find objects of type" select list alpahbetically in the find form.
parent
a5163bb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
lib/python/OFS/dtml/findForm.dtml
lib/python/OFS/dtml/findForm.dtml
+9
-3
No files found.
lib/python/OFS/dtml/findForm.dtml
View file @
2482f85a
...
@@ -20,9 +20,15 @@ find option.
...
@@ -20,9 +20,15 @@ find option.
<div class="form-element">
<div class="form-element">
<SELECT NAME="obj_metatypes:list" SIZE="4" MULTIPLE>
<SELECT NAME="obj_metatypes:list" SIZE="4" MULTIPLE>
<OPTION VALUE="all" SELECTED> All types
<OPTION VALUE="all" SELECTED> All types
<dtml-in all_meta_types mapping>
<dtml-let sorted_meta_types="[]">
<OPTION VALUE="<dtml-var name html_quote>"> <dtml-var name>
<dtml-in all_meta_types mapping>
</dtml-in>
<dtml-call "sorted_meta_types.append(name)">
</dtml-in>
<dtml-call "sorted_meta_types.sort()">
<dtml-in sorted_meta_types>
<OPTION VALUE="<dtml-var sequence-item html_quote>"><dtml-var sequence-item>
</dtml-in>
</dtml-let>
</SELECT>
</SELECT>
</div>
</div>
</TD>
</TD>
...
...
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