Commit 409d9e16 authored by Jérome Perrin's avatar Jérome Perrin

always show gap id

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27395 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 43669437
......@@ -65,10 +65,7 @@ display_cache = {}\n
def display(x):\n
if x not in display_cache:\n
gap_id = x.getReference() or x.getId()\n
if gap_id.isdigit():\n
display_cache[x] = "%s - %s" % (gap_id, x.getTitle())\n
else:\n
display_cache[x] = x.getTitle()\n
display_cache[x] = \'%s - %s\' % (gap_id, x.getTitle())\n
return display_cache[x]\n
\n
def sort(x,y):\n
......
937
\ No newline at end of file
938
\ 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