Skip to content

Commit

Permalink
Merge pull request #31 from plone/python3
Browse files Browse the repository at this point in the history
fix sorting of prefixes
  • Loading branch information
jensens committed May 7, 2018
2 parents a13ccb5 + be082c0 commit 04e1763
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plone/app/registry/browser/templates/records.pt
Expand Up @@ -60,8 +60,7 @@
<div class="row">
<div class="col-sm-6">
<span i18n:translate="or">or</span>
<select name="qp" tal:define="prefixes python: view.prefixes.keys();
dummy python: prefixes.sort();">
<select name="qp" tal:define="prefixes python: sorted(view.prefixes.keys())">
<option value="" i18n:translate="select_prefix">Select Prefix</option>
<tal:prefixes tal:repeat="prefix prefixes">
<option
Expand Down

0 comments on commit 04e1763

Please sign in to comment.