Category Search incorrect after FP1 installed
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server Catalog > Category Search incorrect after FP1 installed




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Category Search incorrect after FP1 installed  
Jack of all trades, Master of none


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-27-04 07:52 AM

The following search (with the names changed to protect the innocent),
only returned categories that had the custom property set to 1.
After installing FP1, and migrating the catalog, the search is ignoring the 
SqlWhereClause and returns
all the categories.  I tried changing the references in my project to point
at the FP1 assemblies (runtime and shared), but that had no effect.

Any help would be greatly appreciated.

CatalogSearchOptions searchOptions = new CatalogSearchOptions();
searchOptions.ClassTypes = CatalogClassTypes.CategoryClass;

CatalogSearch search = new CatalogSearch(CommerceContext.Current.CatalogSyst
em);
search.CatalogNames = catalogName;
search.CategoryName = categoryName;
search.SearchOptions = searchOptions;
search.Recursive = false;
search.SqlWhereClause = @"[CustomProperty] = 1";

Sincerely,

Jack
--
CYNIC, n. A blackguard whose faulty vision sees things as they are, not as t
hey ought to be. Hence the custom among the Scythians of plucking out a cyni
c's eyes to improve his vision.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:19 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register