• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: [urlybird 1.3.1] Search requirements mis-match

 
james render
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It must allow the user to search for all records, or for records where the name and/or location fields exactly match values specified by the user

Am I right in thinking that there is a mis-match between the requirements of the UI and the requirements of the find() method on the data object. The quote above says that the records returned must EXACTLY match the users input whilst the find() method does a begins with search.
So I guess that I need to do a comparison on the returned records from find() and only take those that exactly match the users input??
thanks,
James
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That seems to be the best approach I've heard, yes.
 
james render
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Jim
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic