Closed (fixed)
Project:
Auto Admin
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
19 Nov 2009 at 13:52 UTC
Updated:
7 Dec 2009 at 17:03 UTC
The urls of actions generated for the list (e.g Edit, Delete etc) are invalid if clean urls are not enabled.
Here is a patch that solves the problem:
function theme_autoadmin_operations($operations) {
$html = '';
$base_path = base_path();
foreach ($operations as $operations => $operation) {
$html .= l($operation['title'],
$operation['href'],
array('query' => $operation['query'],
'attributes' => array('class' => 'operations')));
}
return $html;
}
Comments
Comment #1
_rune commentedThx a lot. This will go into the release of 1.0 that will happen during the weekend (finally:).
EDIT: that will happen during this week :)
Comment #2
_rune commentedFixed in the 1.0.
Comment #3
_rune commented