task

find/ articles

[WHAT] 

  1. [def] this page displays a form with all/most of the input feilds for an 'article' record. This enables users to define and execute a search query for 'article' records based upon a variety of different query parameters.(see example)
    1. ] a page that enables the user to define a number of different search queries to execute against the various subjects tables  
    2. ] user to enter which search criteria that they are looking for and than enable them to perform _ a search to return records that meet that criterial 
  2. [ args ] none
    1. ] ? OPTIONALLY take the chapter, book and llibrary names

[WHY]

  1. ] This page enables the user to define and execute a number of different search queries to execute against the Subjects 'articles' records table. The query will return the desired 'article' record or records that match the user specified search criteria.

[WHERE]

  1. [ called ] from ] menu Main - search menu, option - search Subjects, ??= RENAME as search Articles??

[WHEN]

  1. ]

[EXAMPLE]

  1. ] http://sospep.com/find/articles -

[HOW-TO]

  1. ]

[REFERENCE]

  1. ] /find/ articles.cshtml
  2. ] find/articles -v-001
  3. ] find/articles -v-002

developer implementation

[.process]

  1. set the qry value = to the name of desired qry
  2. set the param value = to the user selected param value
  3. user submits form == on post
    1. read qry,
    2. read param,
    3. build qstring to pass values to page view/articles,
    4. redirect to page view/articles
  4. on page view/articles
    1. get the qry name,
    2. get the param value,
    3. execute the qry(in the DAL helper) to return results to this page

[.notes]

  1.  

[.by_date]

  1. [2012-01-30]
    1. x] created the page,
    2. x] created this new page record
    3. x] implemented Find-by-ID logic
    4. x] added function (GetArticles(ByID)) to LibraryData helper,
    5. >>| ] BAL FOR = find by qrys * 6 est. 
    6. ] added METHOD to GetArticles by ID VS GetArticles(parent_id)
    7. ] NOTE = cant use GetArticleByID AS it return dynamic which cant implictly convert to ...
    8. ] !!! REMEMBER !!! made change to qstring on searchARticles page to add id param AS script for toolbar looking for this ELSE will generater js error
  2. [2012-01-31][10:30]
    1. x] find by name
    2. x] by Description, GetArticlesByDescription, TEST=PASS
    3. x] by Content, GetArticlesByContent, TEST=PASS
    4. x] by LibraryId, GetArticlesInLibrary TEST=PASS, book=x, returns x records
    5. x] by BookId, GetArticlesInBook, TEST=PASS, book=x, returns
    6. x] by ChapterId, - GetArticlesInChapter, TEST=
    7. [12:00]
    8. x] closed for 1492 DAL+++ , moved this page record back to "pages-added" 

 

 


status

[===current===]

  1.  ]

[===next===]

  1. ] ADD feild to search page , isHTML, add qry to DAL, throw/catch qry to pages find/article, view/articles
  2. ] ?? ADD submenu to main menu for ArticleByID, ArticleByName ??

 

 

Details Photos Edit more

Details

ID: 2242

NAME: PAGE-find-articles

DESCRIPTION: PAGE to initiate a search qurery for existing 'article' records from the SUBJECTS app

START DATE TIME: 2013-08-05 10:00:00

EST DURATION: 01:00:00

END DATE TIME: 2013-08-05 11:00:00

STATUS: To-Do

PRIORITY: -5

OWNER ID: 75

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities