Application list order

From Pirates@Home

Jump to: navigation, search
BOINC Hacks
  

This page describes modifications you can make to customize your BOINC project or application.


Many BOINC projects have one or two applications, but some (such as Pirates@Home) have many different applications. It can be desirable to control the order in which the applications are listed, such as on the List of Applications. Here are the steps to do this:

1. Add an OrderID item to the table of applications (app' table):

mysql> alter table app add OrderID smallint;
mysql> alter table app add index (OrderID);

2. Modify the SQL query where necessary to add a clause to order the results using this new field. For example, in apps.php the query

SELECT * FROM app WHERE deprecated=0 

becomes

SELECT * FROM app WHERE deprecated=0 order by OrderID

Similar changes can be made elsewhere, such as in the Control Panel index page, which provides links for monitoring runs of the various applications.

Personal tools