Changing the number of items to display doesn't seem to take effect.

Looking at the code, it appears that $count is hardcoded at 5 -- changing it solves the issue, but it's a dirty hack.

CommentFileSizeAuthor
#5 similarterms.zip8.25 KBcridenour

Comments

jrabeemer’s picture

It's not hardcoded. It defaults to 5 but can be changed by passing a number to the 3rd argument in the similarterms_list() function.

Leeteq’s picture

Category: bug » support
Status: Active » Closed (works as designed)
BarisW’s picture

Hmm, still it's not working. I changed the maximum value in the block configuration from 5 to 3, but nothing seems changed: still 5 nodes are displayed.

josh@pixael.com’s picture

same problem here...

cridenour’s picture

Assigned: Unassigned » cridenour
Status: Closed (works as designed) » Fixed
StatusFileSize
new8.25 KB

I also saw this and fixed the code. Should be working.

I am willing to take over development of this module if the demand is out there.

cridenour’s picture

Status: Fixed » Reviewed & tested by the community
rmiddle’s picture

Version 6.x-1.0 is fine. It works. Version 5.x-1.1 is broken. Fixed in CVS. I didn't use the patch attached as I had already fixed it in Version 6 I back ported my fix to version 5. Will be fixed in Version 5.x-1.2.

Thanks
Robert

rmiddle’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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