diff options
author | zsloan | 2020-09-30 14:59:30 -0500 |
---|---|---|
committer | zsloan | 2020-09-30 14:59:30 -0500 |
commit | c291a82b0127048d3aa969f82d42d29acb142ea2 (patch) | |
tree | 86621ff9ec4c318996faf3dbb8c308dacbd7b7b1 /wqflask/.coveragerc | |
parent | b06657d216fb8e0d94125ec77beb3fdf6e0c7e8a (diff) | |
download | genenetwork2-c291a82b0127048d3aa969f82d42d29acb142ea2.tar.gz |
Fixed issue where columns sorted by inner text (text inside link tags)
didn't sort all rows when a table is paginated and has more than one
page
* wqflask/wqflask/static/new/javascript/search_results.js - Added
"extract_inner_text" function for getting the inner text from a string
containing HTML in order to avoid using DataTables' orderDataType (which
can only fetch values directly from the DOM, which is why sorting wasn't
working with multiple pages), and also included this function in the
"natural-minus-na" data type (so columns can be sorted that contain both
HTML/links and N/A values)
* wqflask/wqflask/templates/collections/view.html - Changed record column
to use "natural-minus-na" sort method in order to fix the inner-text
sorting issue + added sorting to the checkbox column (in the same way as
it already works in the search result page)
* wqflask/wqflask/templates/search_results_page.html - Replaced the
columns that used orderDataType with using the updated
"natural-minus-na" data type
* wqflask/wqflask/templates/correlation_page.html - Fixed issue where
N/As in the Year column (for phenotype correlations) were still displayed as links
Diffstat (limited to 'wqflask/.coveragerc')
0 files changed, 0 insertions, 0 deletions