aboutsummaryrefslogtreecommitdiff
path: root/LICENSE.txt
diff options
context:
space:
mode:
authorzsloan2020-09-30 14:59:30 -0500
committerzsloan2020-09-30 14:59:30 -0500
commitc291a82b0127048d3aa969f82d42d29acb142ea2 (patch)
tree86621ff9ec4c318996faf3dbb8c308dacbd7b7b1 /LICENSE.txt
parentb06657d216fb8e0d94125ec77beb3fdf6e0c7e8a (diff)
downloadgenenetwork2-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 'LICENSE.txt')
0 files changed, 0 insertions, 0 deletions