Skip to content
  • Fokkema's avatar
    Many improvements to custom column handling, and bug fixes: · 2ad234ba
    Fokkema authored
    - Implemented a dropdown menu at the gene's and disease's detailed views, instead of one long row of links.
    - From a gene's or disease's detailed view, you can now view a list of its active columns. From there, you can also change the order in which the columns are shown in the system.
    - Fixed bug; The new template class was not activated correctly in objects.php and object_transcript_variants.php.
    - Fixed bug; PDO was not implemented completely in LOVD_Objects::loadEntry() and LOVD_Transcript_Variants::loadEntry().
    - Fixed bug; When running a query with arguments but not halting on a query error, the error was lost since the PDOStatement instance was deleted. Adapted LOVD_PDO to store the error in such case in the database handler, where LOVD_PDO::formatError() can find it.
      * Also created LOVD_PDOStatement::formatError() to get the error from the PDOStatement and not the PDO database handler, for handling non-fatal errors in prepared statements executed in the LOVD code.
    - On success, LOVD_Object::viewList() now returns the total number of hits, instead of true.
    - Moved jQuery from only the full printHeader to also the "clean" printHeader, since we needed it for sorting custom columns.
    - Fixed bug; The gene's external link field accepted input that did not result in a proper link.
    - From the custom column's list, you can now easily select only a specific category of columns.
    - The code in columns.php is now used to change the *default* order of shared object custom columns, clarified this in the code.
    - Fixed bug; One of the changes made in 3.0-beta-04 to the dropdown menu script had adverse side effects, so it was reverted.
    
    
    git-svn-id: https://humgenprojects.lumc.nl/svn/LOVD3/trunk@172 a7477d18-a37e-46de-aef1-57953c184492
    2ad234ba