i] # 5490 - -010-PAGINATION-SEARCH-PAGES - Ariticles search, test use SQL_CALC_ROWS vs qry*2
] # # - TRY using sql_calc_rows method,
] RESULT = WORKS but somewhat inconsistent in results,
] maybe its my implementation? ALSO for example test qry="interview" get 220 results (11 pages) then click on page 5 and now i only have 2 pages results
[2015-08-19][00:00] NEW task
x] push to production with FIX-PRB-5498 - not ready
x] PAGE links on view/article by browse(parent_id) are showing with
[00:00] NEW task IN
x] sospepHelper function - ] ADD 2nd condition to test qry if ( qry=qry and parent_id=0 )
[00:00] NEW task - findBy Content - REVERT 2* query method, count(total_records) and results(qry, limit)
x] CS - ADD NEW qstring for count records
x] CS verify method has wildcard param append/prepend to param, verify param is upper
x] PG findByContent - case statement - includes ...]
**
x] TEST.local qry(result)= vancouver(54), interview(272), javascript(218), asp.net(45), asp.net MVC(22), don sagrott(22)
x] PUSH .com
x] TEST.remote = PASS
x] PUSH .org
*] qry - blackberry z30(11) <> blackberry(299)
[2015-08-19][00:00] NEW task - findBy - Library
x] CS - ADD NEW qstring for count records
x] CS - NEW METHOD recordCount( string qry, int param parent_id)
x] PG findByLibrary - case statement - includes ... ] getArticles args (startRecord, qty), ] calculate totalRecords, totalPages
x] TEST.local qry(result)= ] test_book(84), ]
[00:00] NEW task - findBy - Book
x] CS - ADD NEW qstring for count records
x] PG findBy Book - case statement - includes ... ] getArticles args (startRecord, qty), ] calculate totalRecords, totalPages
x] TEST ] book git(21), book javascript(172)
[00:00] NEW task - findBy - Chapter]
*] CS - no new qry, orig recordCount method which takers parent_id, returns count
x] PG - findByChapter - use sospepFunction.totalPages()
] TEST book.git ch=#(#), book=javascript, ch=2-learning (9), book=test, ch=001 (37)
[00:00] NEW task
x] # # - NEW method - sospepFunction.totalPages(int totalRecords, resultsPerPage)
x] test on findBy Book
x] findBy Book, findByChapter
[00:00] NEW task - findBy - status]
x] CS - add qry
x] EDIT - recordCount(string qry, string param) - was adding wildcard in method, dont want appended wildcards here, will have to go back to adding on calling page