Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URLyBird Search Fields

 
Tim Anlauf
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'am working on URLyBird v1.2.1 and not sure how to implement my search
At the moment I have only an AND search.

My sepc says:

It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user.


Do anyone think that an OR search is required here ?
 
Mihai Radulescu
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
And - both, Or - only one (from both).

Regards M.
 
Tim Anlauf
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I provided two textfields.( name and location )

1.
if a user enters a string in both --> all records where name and location matches are returned

2.
enters only name --> all records where name mates are returned

3.
same as 2. only with field location

Is that right or must I have a checkbox ?

Tim
 
Mark Smyth
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tim A...:
I provided two textfields.( name and location )

1.
if a user enters a string in both --> all records where name and location matches are returned

2.
enters only name --> all records where name mates are returned

3.
same as 2. only with field location

Is that right or must I have a checkbox ?

Tim


Hi Tim,
Think that is the right way to go about it, this is exactly the way I have implmented my search. I think it is another case of a poorly worded specification rather than a requirement to have and / or functionality on the name and location fields. Just make sure to mention exactly how it works in the userguide and choices text files.

Mark.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic