I've updated to the latest version 4.98.
There was a notification that the GMCP mapper database required an update. This ran successfully. The messages showed that the date added column was removed.
This has broken a well used plugin that uses the date added for querying the database.
The plugin just seems to use it to order the select query.
I'm not that familiar with SQL or the columns in the table.
Does anyone have a suggestion of what it can be replaced with? Or perhaps just needs removing?
Edit: In the interim removing the r.date_added ASC fixes the plugin. Will wait to see if there is a better suggestion.
Dak
There was a notification that the GMCP mapper database required an update. This ran successfully. The messages showed that the date added column was removed.
This has broken a well used plugin that uses the date added for querying the database.
"SELECT r.uid, r.name as room, a.name as area, a.uid as areaid " ..
"FROM rooms r " ..
"INNER JOIN areas a ON a.uid = r.area " ..
"WHERE a.uid like %s " ..
"OR a.name like %s " ..
"ORDER BY r.date_added ASC, r.name "
The plugin just seems to use it to order the select query.
I'm not that familiar with SQL or the columns in the table.
Does anyone have a suggestion of what it can be replaced with? Or perhaps just needs removing?
Edit: In the interim removing the r.date_added ASC fixes the plugin. Will wait to see if there is a better suggestion.
Dak