Attachment 'advancedsearch.diff'

Download

   1 From 26dceeabfd3878b09c4becccf4bc2c5965d0cb6e Mon Sep 17 00:00:00 2001
   2 From: Martin Wilck <martin.wilck@ts.fujitsu.com>
   3 Date: Fri, 25 May 2012 18:23:54 +0200
   4 Subject: [PATCH] Fix for http://moinmo.in/MoinMoinBugs/FindPage
   5 
   6 ---
   7  macro/AdvancedSearch.py |    2 +-
   8  1 files changed, 1 insertions(+), 1 deletions(-)
   9 
  10 diff --git a/macro/AdvancedSearch.py b/macro/AdvancedSearch.py
  11 index ded9379..995af87 100644
  12 --- a/macro/AdvancedSearch.py
  13 +++ b/macro/AdvancedSearch.py
  14 @@ -120,7 +120,7 @@ def advanced_ui(macro):
  15      mt_select = makeSelection('mimetype',
  16              [('', _('any mimetype'))] +
  17              [(type, 'all %s files' % type) for type in getMimetypes()] +
  18 -            [(m[1], '*%s - %s' % m) for m in sorted(mimetypes.types_map.items())],
  19 +            [(m[1], '*%s - %s' % (unicode(m[0], 'utf-8'), m[1])) for m in sorted(mimetypes.types_map.items())],
  20              mimetype, 3, True)
  21  
  22      # misc search options (checkboxes)
  23 -- 
  24 1.7.7.6

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2012-05-25 16:30:28, 0.9 KB) [[attachment:advancedsearch.diff]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.