Administration Menu » Content Manager error in grid paging and Title Filter

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
12/21/2010 11:54:11 AM
Gravatar
Total Posts 17

Administration Menu » Content Manager error in grid paging and Title Filter

Hi,

I'm using the latest version of mojo mojoPortal 2.3.5.8, with PostGres in a Windows 7 machine.

In the Administration Menu/ Content Manager, I  found 2 errors.

1 -  In the Grid View the paging navigation is not working

The problem is in mojoPortal.Data.DBModule.SelectPage( … ) file mojoPortal.Data.pgsql\dbModule.cs

It's missing one parameter in the collection, 

arParams[7] = new NpgsqlParameter("pageoffset", NpgsqlTypes.NpgsqlDbType.Integer);
arParams[7].Direction = ParameterDirection.Input;

 arParams[7].Value = ((pageNumber - 1) * pageSize);

and have to change the declaration of arParams to NpgsqlParameter[] arParams = new NpgsqlParameter[8]; 

2 - Title filter have to:

Change this line (1138) to :  arParams[2].Value = "%" + title + "%";

and  in  line (1199) to sqlCommand.Append("AND (m.moduletitle LIKE :title ) ");

And I think the parameters arParams[5] and arParams[6] are not used, but not sure.

 

Thanks 

 

12/22/2010 9:00:41 AM
Gravatar
Total Posts 18439

Re: Administration Menu » Content Manager error in grid paging and Title Filter

Thanks for the bug report and fix. This is now fixed in the source code repository.

Best,

Joe

12/23/2010 10:02:23 AM
Gravatar
Total Posts 17

Re: Administration Menu » Content Manager error in grid paging and Title Filter

Thanks

You must sign in to post in the forums. This thread is closed to new posts.