? Success

User tests: Successful: Unsuccessful:

avatar alikon
alikon
10 Jun 2015

Steps to reproduce the issue

use pagination and set a limit
example go to Administration Article Manager Articles and set a limit for show only 5 articlesper page

Expected result

pagination works well show only 5 articles per page

Actual result

don't work show more articles

jmssql pagination administration article manager articles

System information (as much as possible)

PHP Version 5.5.9
Web Server Apache/2.4.7 (Win32)
Joomla! Version Joomla! 3.4.1
Database MSSQL 2008 R2

Additional comments

fixed the process limit query on sqlsrv

  SELECT * FROM ( 
   the old $query
) A WHERE A.RowNumber  BETWEEN start AND end;
avatar alikon alikon - open - 10 Jun 2015
avatar wilsonge
wilsonge - comment - 10 Jun 2015

This exact code was removed in #5293 - are we sure that we aren't introducing new bugs elsewhere?

avatar alikon
alikon - comment - 10 Jun 2015

i've followed these
http://blogs.msdn.com/b/sqlserver/archive/2006/10/25/limit-in-sql-server.aspx
https://technet.microsoft.com/en-us/library/ms186734.aspx

don't know about #5293 and azure

p.s
for #6414 the correct query was removed by mistake i think in #5293

avatar joomla-cms-bot joomla-cms-bot - change - 10 Jun 2015
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 10 Jun 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 10 Jun 2015
Category MS SQL
avatar zero-24 zero-24 - change - 10 Jun 2015
Status New Pending
avatar sovainfo
sovainfo - comment - 10 Jun 2015

@test OK
Issue confirmed on MS SQL. PR resolves issue.
Fixes the regression introduced by #5293 reported in #6414 !

Considering Azure works the same, it should be applied there as well.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7149.

avatar sovainfo sovainfo - test_item - 10 Jun 2015 - Tested successfully
avatar designbengel
designbengel - comment - 13 Jun 2015

Is there any free webhost service for testing MS SQL? I just tried somee.com but have some issues creating the ms sql Database there... :(


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7149.

avatar alikon
alikon - comment - 14 Jun 2015

i can recommend to use on a localhost the "express" edition is a free version of MSSQL

avatar waader
waader - comment - 26 Jun 2015

@test works!

avatar waader waader - test_item - 26 Jun 2015 - Tested successfully
avatar zero-24 zero-24 - change - 26 Jun 2015
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 26 Jun 2015

RTC Thanks!


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7149.

avatar wilsonge
wilsonge - comment - 27 Jun 2015

Merged - thanks!

avatar zero-24 zero-24 - close - 27 Jun 2015
avatar wilsonge wilsonge - change - 27 Jun 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-06-27 00:11:35
Closed_By wilsonge
avatar wilsonge wilsonge - close - 27 Jun 2015
avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment