• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems when viewing specific description when search

 
Loh Peggie
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey hey how com when I click on the specific products there is no records
This is my search servlet:


This is my searh box so that I can type in the productcolor




This is my search result like when I type yellow, all the yellow records will display.



When click this specific beanie, It will go to this record:



However, It did not display

Can you guys help me see what's wrong with this?


Thanks
desc.jpg
[Thumbnail for desc.jpg]
When click no records is display instead of the relavant information.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably because you're doing a query using a product ID as a color.

Unless your product ID's are deliberately hex-based HTML-/CSS-style color identifiers this is unlikely to work.

Is this production code?
 
Loh Peggie
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic