summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gentoobrowse/console/bugimport.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse/console/bugimport.xml b/gentoobrowse/console/bugimport.xml
index 2b1bb4f..e1ea906 100644
--- a/gentoobrowse/console/bugimport.xml
+++ b/gentoobrowse/console/bugimport.xml
@@ -10,7 +10,7 @@
<project2:xslrows name="buglist" html="true" warnings="false">
<url source="parent" name="url" depth="1" />
<filterview name="bugdetails" root="/html/body/div/ul/li/a">
- <field name="bugid" xpath="substring-before(substring-after(.,'Bug:'),' ')" />
+ <field name="bugid" xpath="number(substring-before(substring-after(.,'Bug:'),' '))" />
<field name="summary" xpath="em" />
<field name="status" xpath="substring-before(substring-after(.,'status:'),' ')" />
<field name="severity" xpath="substring-after(.,'severity:')" />