• HCMC Blogs
  • Moses
  • Maint
  • Mariage
  • Admin
  • Academic
  • Depts
  • ScanCan
  • HumsSites
  • Projects
  • Pro-D
  • ColDesp
  • CanMys
  • LondonMap
  • AdaptiveDB
  • MoM
  • Cascade
  • Landscapes
  • Linguistics
  • CGWP
  • Endings
  • LEMDO
  • DVPP
  • Wendat
  • Announcements

Contact Us on 0800 123 4567 or info@example.com

German Medical Exams

  • Front Page
  • Contact
  • Log in
  • « investigate bug report with search for Treatment
  • Move treatment(s) to top line of search results »

Add treatments to search-by and order-by fields

Posted by sarneil on 26 Jan 2009 in Activity log

ML asked to have treatments added to list of fields that one can use to search the database. Added that to the GUI in searchformbasic.inc and to the where clause code in search.php. Latter pretty straightforward after I'd made the necessary changes to get the two treatments to display properly in a recent bug fix.

Decided to add treatments to the list of fields that one can sort the results by. Added value to order-by table in database and modified php switch statements for order_by_1_text and order_by_2_text in search.php.

In testing, it looks like the order by 2 isn't doing what I expect it to, so I'll have to look into that further. That argument seems to be having no effect at all.

This entry was posted by Stewart and filed under Activity log.

German Medical Exams

This project will create an xml-based database of medical exam reports from the 16th through 19th centuries in Germany. The database will allow researchers to query medical practices in that time and to infer changes in the administration of medical care and other social changes.
  • Home
  • Recently
  • Archives
  • Categories
  • Latest comments

Search

Categories

  • All
  • Activity log
  • Announcements
  • Tasks

XML Feeds

  • RSS 2.0: Posts
  • Atom: Posts
What is RSS?

Recent Posts

  • allow for AND or OR operator within multiselect fields
  • query fails when more than one item selected in multiselect fields
  • add filter for Has Nurse or Support Care
  • add another search, one still to go
  • update order-by control
  • Add search of treatments textarea
  • Add search of conditions textarea, new report presentation to follow
  • change which fields appear in report
  • fix couple of bugs in sql
  • fix errors in dropdown lists

Sidebar 2

This is the "Sidebar 2" container. You can place any widget you like in here. In the evo toolbar at the top of this page, select "Customize", then "Blog Widgets".

This collection ©2026 by admin • Help • Open-Source CMS