Expand Sort Capabilities on WebWorks Help Search Folder Tab

Summary

In WebWorks Help, sort books alphabetically on the Search folder tab and allow users to sort search results

Detailed Description

Our customers are requesting the following changes to the Search folder tab of WebWorks Help.

Sort sequence of books – The current order of books is based on the Contents folder tab, both in the dropdown list and in the search results list (when sorted by book). Alphabetical sequence is more logical on the Search tab. We have over 20 books, so the lack of alpha sequence is drawing customer complaints. Ideally, add an option to the ePublisher GUI so users can decide how to sort books in the dropdown list and in the search results list.

Search results – Currently, the sort order is hardcoded, and the only options are to sort by overall rank or by rank within a book. Our end users want the option to re-sort search results by title, overall rank, or rank within a book.

Use Cases

<Use Cases go here>


:) :)) :( ;) :\ |) X-( B)
BenAllums   You can get part of what you are looking for by modifying:  wwhelp/wwhimpl/js/scripts/search.js searching for "WWHSearch_SearchPairsComplete".  At the end of that function, you'll see calls to: this.mCombinedResults.fSortByBookIndex() and this.mCombinedResults.fSortByScore().  If I recall, you can set both to be "fSortByBookIndex()" to receive a grouped result.

As for setting the book sort order...  Doh!

2008-04-09 20:45:54

Enhancements/Add_Sort_Options_to_WW_Help_Search_Tab (last edited 2008-04-03 15:41:51 by DianeFerrara)