When I enable the option for Show/Hide links, both links show up all the time, and clicking them doesn't do anything. All terms are always shown.

CommentFileSizeAuthor
#5 popular-tags-bug-screenshot.PNG54.72 KBheatherwoz

Comments

heatherwoz’s picture

I'm noticing a different behavior now. Some fields respect the limit and only show the specified number of terms, but clicking Show All Terms doesn't make the other terms appear.

jitesh doshi’s picture

Please make sure you have set a limit (say, 10 or so) on the field settings page. And also make sure "show/hide links" checkbox is checked on the same page. See this screenshot - http://drupal.org/files/project-images/Greenshot_2012-08-25_14-20-53.png - to get an idea of what I'm talking about.

Post back here with what you find. If the problem persists, please post screenshots of the field settings page as well as the popular tag entry (node-edit) page.

jitesh doshi’s picture

Status: Active » Fixed

I think there was a bug in the JavaScript code.

I have committed a fix. Please get the latest code from dev brach. Or otherwise wait until the next release.

Please give the latest code a try and let me know if the problem persists.

jitesh doshi’s picture

Release 7.x-1.0-alpha1 has been created and posted on the project page. All known bugs have been fixed in this release.

heatherwoz’s picture

Status: Fixed » Active
StatusFileSize
new54.72 KB

They seem to work in some cases but not others. See attached screenshot. The first field is set to show 5 terms without the show/hide links, works as expected. The second field is set to show 5 terms with the show/hide links, works as expected and the links toggle display of the terms. The third field is set to show 2 terms with the show/hide links, but all terms and both toggle links appear by default, and clicking them does nothing. Maybe it's an issue of having two popular-tags enabled fields on the same page?

(The two remaining fields in the screenshot have no limit on popular tags shown and appear to work as expected.)

jitesh doshi’s picture

Let me look deeper into this. If you have any means of submitting a patch, I'd be happy to accept it. Otherwise, no problem. Just give me some time.

Manish Jain’s picture

Assigned: Unassigned » Manish Jain
Status: Active » Closed (cannot reproduce)

I've not been able to reproduce this problem.

@heatherwoz, can you re-test using the latest release and reopen it if the problem persist?