summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-02-11 13:42:53 +0000
committerrandomdan <randomdan@localhost>2011-02-11 13:42:53 +0000
commit08c70c42e9ffc73b8058ea09c7cfd99a2b035c9b (patch)
tree20c3d48b97fe41a83a72818372846a5d0e9a53ca
parentCorrect username in DB properties (diff)
downloadgentoobrowse-08c70c42e9ffc73b8058ea09c7cfd99a2b035c9b.tar.bz2
gentoobrowse-08c70c42e9ffc73b8058ea09c7cfd99a2b035c9b.tar.xz
gentoobrowse-08c70c42e9ffc73b8058ea09c7cfd99a2b035c9b.zip
Read bugid as a number
-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:')" />