Item count for block not working
TfR75 - December 6, 2007 - 12:53
| Project: | Similar By Terms |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
I have a problem using "Item count" for the block. By default it is set to 5 - and it stays that way not matter which number I set it to. After saving, the block configuration shows the Item count set to, for example, 3, but in the block there are still 5 items displayed...

#1
5 is hardcoded. http://drupal.org/node/151084
Apply patch to get it working.
#2
I will have a look at this and report back. Thanks!
#3
Unfortunately, the patched file produces the same behaviour as the original...
#4
This is a modified version that mainly offers new (additional non-conflicting) functionality to specify content types the similar nodes should be limited to but also fixes the count bug.
Hope this helps.
#5
It works nice and smooth. Will this become part of the "official" similarterms?
#6
Thaks for cool module and good patch!
#7
New patch, only contains required changes. Thus, setting to RTBC.
#8
I posted nearly the same code as sun (different variable name :-P ) in the other thread. Does anyone have access to CVS to update this module?
#9
I am going to make this as a dupe of http://drupal.org/node/151084 even though this ticket predates that ticket. Again this issue is fine in 6.x-1.x and if fixed in cvs and 5.x-1.2 when released.
Thanks
Robert
#10
Automatically closed -- issue fixed for two weeks with no activity.