Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Server Side Pagination Sort by Calcualted Column
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Server Side Pagination Sort by Calcualted Column
#43049
Re:Server Side Pagination Sort by Calcualted Column 11 Years, 4 Months ago Karma: 5
Code:

SELECT teams.leagueid,teams.teamname,teams.teamid,teams.abbrev,teams.name,teams.username,{$f_leaguecap} AS CAP,{$f_leaguerostersize} AS SIZE,sum(auction.bid) AS USED,({$f_leaguecap}-sum(auction.bid)) AS CAPLEFT,count(auction.bid)-1 AS PLAYERS,({$f_leaguerostersize}-(count(auction.bid)-1)) AS EMPTYSPOTS,SUM(FORMAT((((players.dst_int*2)+(players.dst_dtd*6)+(players.dst_dfr*2)+(players.dst_sack)+(players.dst_sty*2))+players.pass_yds/25+players.pass_td*4+players.pass_int*-2+players.rush_yds/10+players.rush_td*4+players.rec_yds/10+players.rec_td*4+players.fl*-2+players.fg*3+players.xpt),0)) AS FPts


FROM fs_teams AS teams
LEFT JOIN fs_football_auction_{$leagueid} AS auction
ON auction.teamid = teams.teamid
LEFT JOIN fs_football_players_{$leagueid} AS players
ON auction.playerid = players.id
WHERE teams.leagueid = {$REQUEST:leagueid} AND teams.sport='Football' AND teams.teamid<={$f_teams} AND auction.high !='NO' AND auction.bidtime >='0000-00-00 00:00:00'
GROUP BY teams.teamid





Using the above code, I would like to be able to sort the "FPts" column using server-side pagination.
Last Edit: 2013/07/25 23:26 By trevor_stp.
The administrator has disabled public write access.
 
#43062
Re:Server Side Pagination Sort by Calcualted Column 11 Years, 4 Months ago Karma: 760
Sorry, but currently we can't help with it.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#43189
Re:Server Side Pagination Sort by Calcualted Column 11 Years, 3 Months ago Karma: 5
It is a problem with my particular calculated column? If this is possible using another method perhaps I can adjust my table.

thanks
The administrator has disabled public write access.
 
#43213
Re:Server Side Pagination Sort by Calcualted Column 11 Years, 3 Months ago Karma: 760
It requires modification of the extension and currently we can't help with it.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#43219
Re:Server Side Pagination Sort by Calcualted Column 11 Years, 3 Months ago Karma: 5
ok, please let me know when you are able to implement this feature or when you are able to accept this as a request for custom development.

trevor
The administrator has disabled public write access.
 
#43235
Re:Server Side Pagination Sort by Calcualted Column 11 Years, 3 Months ago Karma: 760
We will take this request into account and try to implement this feature in a future version of the extension.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12