csantanapr / dapp-examples

Series of Single Page Apps using the dApp Framework
http://csantanapr.github.io/dapp-examples
Other
5 stars 4 forks source link

Implement Search #15

Closed csantanapr closed 11 years ago

csantanapr commented 11 years ago

From Requirement document: Submit Search Button ­ Invokes the search service and displays the List view. The search will pass all fields to the “search service” which will return all items that match the search criteria; an “and clause” is implied for each search field value. Search ● All of the following search fields are optional; if none is entered and Submit Search button is pressed the default criteria specified under the List view should be used. ● Id input field ­ Validation: Must be a positive integer and <= 1,000,000,000. ● Requested By ­ Validation: Must be < fifty chars. Search is exact match on the string. (Could search on beginning of string also.) ● Requested Finish From/To Date ­ Validation: From Date must be <= To Date. If From Date is empty, defaults for search purposes to “beginning of time” (view field remains blank). If To Date is emtpy, defaults to “end of time” (view field remains blank).

The following is debatable if it should be in the scope of this task: When a search/sort is performed from the Search/Sort view, the list of items and order will be determined by the search criteria. For each item, the following fields will be displayed: id, first 25 chars of description, and status. The format can be multi­line or grid; exact format not yet specified.