From e9caf75db0ba6cf0825b2f49ffb2b7a4b0b983a4 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sat, 2 Apr 2016 14:27:43 +0800 Subject: SDM import: fix logic for sample import Seems that testing if BOOKMARK is empty is a bad idea. We end up not getting any samples, but the ones containing a bookmark. So we need to switch the logic to testing if BOOKMARK contains something and do those tasks first and otherwise grab a regular sample. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- xslt/SuuntoSDM.xslt | 56 ++++++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 26 deletions(-) (limited to 'xslt') diff --git a/xslt/SuuntoSDM.xslt b/xslt/SuuntoSDM.xslt index 90cc5fdc5..d8d566643 100644 --- a/xslt/SuuntoSDM.xslt +++ b/xslt/SuuntoSDM.xslt @@ -188,7 +188,36 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -211,31 +240,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3-70-g09d2