]> git.mxchange.org Git - mailer.git/blobdiff - templates/xml/member/member_list_subid_stats.xml
Added update_year.sh (still not fully flexible) and updated all years with it.
[mailer.git] / templates / xml / member / member_list_subid_stats.xml
index 4c1882a5409015d05aa75b7ea2f142c0a12f78d7..58e2bead68ebf101083655b4503f7fd4497be7f9 100644 (file)
@@ -5,7 +5,7 @@ This template provides meta data for listing member's sub id statistics
 @author                Roland Haeder <webmaster@mxchange.org>
 @version       0.2.1-FINAL
 @copyright     (c) 2003 - 2009 by Roland Haeder
-@copyright     (c) 2009 - 2012 by Mailer Developer Team
+@copyright     (c) 2009 - 2015 by Mailer Developer Team
 @license       GNU GPL 2.0 or any newer version
 @link          http://mxchange.org
 
@@ -64,7 +64,6 @@ MA  02110-1301  USA
                        always be set), alias (again can be left empty) and SQL function
                        (can also be left empty) which shall be applied on the column.
                        //-->
-                       <select-data-from-list-entry type="string" table="" value="id" alias="" function="" />
                        <select-data-from-list-entry type="string" table="" value="subid" alias="" function="" />
                        <select-data-from-list-entry type="string" table="" value="referral_url" alias="" function="" />
                        <select-data-from-list-entry type="string" table="" value="remote_address" alias="" function="" />
@@ -76,8 +75,9 @@ MA  02110-1301  USA
                //-->
                <where-select-from-list>
                        <!--
-                       Search for current user's sub ids
+                       Search for current user's sub id statistics
                        //-->
+                       <where-select-from-list-entry type="string" table="" value="subid" condition="EQUALS" look-for="{%get,getSubId=id%}" />
                        <where-select-from-list-entry type="string" table="" value="refid" condition="EQUALS" look-for="{%pipe,getMemberId%}" />
                </where-select-from-list>
                <!--
@@ -119,4 +119,8 @@ MA  02110-1301  USA
                        </callback-extra-parameter-list>
                </column-callback-list-entry>
        </column-callback-list>
+       <!--
+       How the named column shall be logical linked to the above.
+       //-->
+       <where-condition type="string" name="refid" condition="AND" />
 </member-list-data>