test for results in Content Glider strips last node from display

decibel.places - April 23, 2009 - 13:58
Project:Content Glider
Version:6.x-1.4
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

@ line 163 this code checks for results, but also removes the last (current) result from the display

I have commented it out and module works fine - I know I have results

if (!db_result($results)) {
      return;
}

#1

mcdazz - May 21, 2009 - 13:34

I can also confirm that commenting those lines out definitely fixes this issue.

I'd also like to state that the lines need to be commented out in the content_glider.module file.

#2

drupal-id.com - June 24, 2009 - 16:08
Status:active» closed

Fixed applied to 6.x-1.5. The line still exist since we need to avoid empty result. We avoid last node going lost by call again the query.

Thanks for bug report.

 
 

Drupal is a registered trademark of Dries Buytaert.