Commit dd01b5fd authored by Jérome Perrin's avatar Jérome Perrin

Use short title on the category

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31174 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c060874e
......@@ -61,11 +61,10 @@ categories from all available GAP.\n
"""\n
\n
display_cache = {}\n
\n
def display(x):\n
if x not in display_cache:\n
gap_id = x.getReference() or x.getId()\n
display_cache[x] = \'%s - %s\' % (gap_id, x.getTitle())\n
display_cache[x] = \'%s - %s\' % (gap_id, x.getShortTitle() or x.getTitle())\n
return display_cache[x]\n
\n
def sort(x,y):\n
......
1074
\ No newline at end of file
1075
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment