New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSSQL - Pagination fix #7149
MSSQL - Pagination fix #7149
Conversation
#### 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 all 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 SELECT * FROM ( SELECT *, ROW_NUMBER() OVER (ORDER BY id) as RowNumber FROM [joomla].[dbo].[qwyd5_content] ) a WHERE a.RowNumber BETWEEN 50 AND 60;
This exact code was removed in #5293 - are we sure that we aren't introducing new bugs elsewhere? |
i've followed these don't know about #5293 and azure p.s |
space
https://travis-ci.org/joomla/joomla-cms/jobs/66274374 ``` FILE: ...avis/build/joomla/joomla-cms/libraries/joomla/database/query/sqlsrv.php -------------------------------------------------------------------------------- FOUND 1 ERROR(S) AFFECTING 1 LINE(S) -------------------------------------------------------------------------------- 334 | ERROR | Concat operator must be preceeded by one space -------------------------------------------------------------------------------- UPGRADE TO PHP_CODESNIFFER 2.0 TO FIX ERRORS AUTOMATICALLY -------------------------------------------------------------------------------- ```
Travis again
@test OK 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. |
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. |
i can recommend to use on a localhost the "express" edition is a free version of MSSQL |
@test works! |
RTC Thanks! This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7149. |
Merged - thanks! |
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
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