ProductLoadAllPaged CategoryId / CategoryIds

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
Good day.

In 2.04 to 2.05 upgrade script there are few realizations of ProductLoadAllPaged SP. Some of them work with @CategoryId   parameter, the last one work with @CategoryIds

ProductService.SearchProducts method works with CategoryId:

---------
//prepare parameters
                var pCategoryId = _dataProvider.GetParameter();
                pCategoryId.ParameterName = "CategoryId";
                pCategoryId.Value = categoryId;
                pCategoryId.DbType = DbType.Int32;
-----------

so, on the NewProducts page I have error:

----------
@CategoryId is not a parameter for procedure ProductLoadAllPaged.
------

What version is correct - CategoryId or CategoryIds?

Thank you in advance,
Serge
12 years ago
Find the latest version of the stored procedure. This one is correct (@CategoryIds). Actually the first ones in the file can be easily deleted.
12 years ago
a.m. wrote:
Find the latest version of the stored procedure.


I have it now. But ProductService.SearchProducts works with CategoryId and I got error

UPD. Sorry, found necessary changes in revision 2366. Looks like I have some problems with merging with local version.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.