Download & Extend

Reorder not working in the dev module dashboard_widget_reorder() BUG

Project:Dashboard
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

So I was wonderung why trhe ordering ist not working in the dev module. This is the fix.

Just add in the file dashboard.page.inc at row 244

  $page_id = db_result(db_query("SELECT page_id FROM dashboard_page WHERE uid = '%d' AND path = '%s'", $user->uid, $_POST['page']));

the missing brackets. Then is it working. It should look like this after changing

  $page_id = db_result(db_query("SELECT page_id FROM {dashboard_page} WHERE uid = '%d' AND path = '%s'", $user->uid, $_POST['page']));

Then is the dev version working out of the box.

Greetings
Bronco

Comments

#1

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#2

I just reported the exact same problem here :

http://drupal.org/node/951920#comment-4562640

How can we get this changed ?

nobody click here