[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/office/skrooge/skrooge_report
From:       Stephane Mankowski <stephane () mankowski ! fr>
Date:       2010-11-08 22:03:34
Message-ID: 20101108220334.C4DB6AC89E () svn ! kde ! org
[Download RAW message or body]

SVN commit 1194395 by smankowski:



 M  +3 -3      skgreportpluginwidget.cpp  


--- trunk/extragear/office/skrooge/skrooge_report/skgreportpluginwidget.cpp \
#1194394:1194395 @@ -353,7 +353,7 @@
         QString att = listAtt.at(i);
         if(att.startsWith(QLatin1String("p_"))) {
             QString propertyName = att.right(att.length() - 2);
-            att = "(SELECT t_value FROM parameters WHERE \
t_uuid_parent=v_operation_consolidated.id||'-operation' AND t_name='" + propertyName \
+ "')"; +            att = "(SELECT t_value FROM parameters WHERE \
t_uuid_parent=v_table.id||'-operation' AND t_name='" + propertyName + "')";  }
         if(att.isEmpty()) att = '\'' + i18nc("Noun", "All") + '\'';
 
@@ -382,7 +382,7 @@
         QString att = m_attsForColumns[ui.kColumns->currentIndex()];
         if(att.startsWith(QLatin1String("p_"))) {
             QString propertyName = att.right(att.length() - 2);
-            att = "(SELECT t_value FROM parameters WHERE \
t_uuid_parent=v_operation_consolidated.id||'-operation' AND t_name='" + propertyName \
+ "')"; +            att = "(SELECT t_value FROM parameters WHERE \
t_uuid_parent=v_table.id||'-operation' AND t_name='" + propertyName + "')";  }
         if(!att.isEmpty()) {
             if(!oWc.isEmpty()) {
@@ -822,7 +822,7 @@
                     QString att = listAtt.at(i);
                     if(att.startsWith(QLatin1String("p_"))) {
                         QString propertyName = att.right(att.length() - 2);
-                        att = "(SELECT t_value FROM parameters WHERE \
t_uuid_parent=v_operation_consolidated.id||'-operation' AND t_name='" + propertyName \
+ "')"; +                        att = "(SELECT t_value FROM parameters WHERE \
t_uuid_parent=v_table.id||'-operation' AND t_name='" + propertyName + "')";  }
                     if(att.isEmpty()) att = '\'' + i18nc("Noun", "All") + '\'';
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic