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.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
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
Thanks for the bug report and fix. This is now fixed in the source code repository.
Best,
Joe