# Post Filter Expand Link Not Working

**URL:** <https://community.hubspot.com/t/post-filter-expand-link-not-working/4114>\
**Category:** CMS Development\
**Created:** [December 12, 2017, 5:23pm UTC](https://community.hubspot.com/t/post-filter-expand-link-not-working/4114 "2017-12-12T17:23:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tm\_anthony](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tm_anthony/32/35926_2.png) [@tm\_anthony](https://community.hubspot.com/u/tm_anthony)\
**Post date:** [December 12, 2017, 5:23pm UTC](https://community.hubspot.com/t/post-filter-expand-link-not-working/4114/1 "2017-12-12T17:23:15Z")

</div>

I am using a post\_filter module in a template file, and the ‘see all’ expand link text is working, but the link is broken. The href on the link is pointing to ‘#’ (see one of the attached images). I didn’t see a property in the documentation that I could use to set the link for the expand text, so what needs to be done to fix this? See my screenshot of the HubL I am using. Thank you!

![Screen Shot 2017-12-08 at 3.35.01 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/9/596131b4da5972cce83008cdfd15799be5f71973.png)  
See all link pointing to #  
 ![Screen Shot 2017-12-08 at 3.34.36 PM.png](https://d2qpr2jzcazej7.cloudfront.net/optimized/3X/d/3/d3ea94feca56d490b8fe0df056edbee44890de3e_2_690x32.png)  
HubL module call

---

<div class="post-metadata">

**Author:** ![Jsum](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jsum/32/20405_2.png) [@Jsum](https://community.hubspot.com/u/Jsum)\
**Post date:** [December 13, 2017, 9:11am UTC](https://community.hubspot.com/t/post-filter-expand-link-not-working/4114/2 "2017-12-13T09:11:06Z")

</div>

[@tm\_anthony](https://community.hubspot.com/t5/user/viewprofilepage/user-id/27228),

The “see all” link shows when the the amount of topics availabe exceeds the number you set to max\_links.

The href value for the “see all” link is set to #. When you click the link it should not take you to a new page, it should reveal the rest of the topics beyond your max\_link limit.

The javascript function that makes this work lives in a file, called public\_common.js, in your Hubspot portal.

This file should be included on your page through the standard footer includes token that is required in both your coded files and your builder templates.

If the file exists in your template and the “see all” link isn’t working then a script that you have added to your template is interfering with the public\_common.js script. You should check your console (ctl + shift + i | cmd + option + i) for errors. You can also remove any javascript files that you have attached to your template temporarily and click the “see all” link to see if doing so triggers the drop down.

---

<div class="post-metadata">

**Author:** ![tm\_anthony](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tm_anthony/32/35926_2.png) [@tm\_anthony](https://community.hubspot.com/u/tm_anthony)\
**Post date:** [December 13, 2017, 5:10pm UTC](https://community.hubspot.com/t/post-filter-expand-link-not-working/4114/3 "2017-12-13T17:10:05Z")

</div>

Thank you for your response! The public\_commons.js file is showing up in the inspector when I am on that page, so I will try taking out JS files as there are no errors in the log. I will let you know if I’m able to deduce the issue by doing this.

---

<div class="post-metadata">

**Author:** ![Jsum](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jsum/32/20405_2.png) [@Jsum](https://community.hubspot.com/u/Jsum)\
**Post date:** [December 13, 2017, 5:12pm UTC](https://community.hubspot.com/t/post-filter-expand-link-not-working/4114/4 "2017-12-13T17:12:02Z")

</div>

I forgot to mention that this is also dependent on Hubspots default css. If there are no errors in your console then maybe the css is missing.

---

<div class="post-metadata">

**Author:** ![tm\_anthony](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tm_anthony/32/35926_2.png) [@tm\_anthony](https://community.hubspot.com/u/tm_anthony)\
**Post date:** [December 15, 2017, 4:24pm UTC](https://community.hubspot.com/t/post-filter-expand-link-not-working/4114/5 "2017-12-15T16:24:10Z")

</div>

After a little more digging and testing, I was able to find a conflict with my JS that was breaking the Hubspot JS. I had a jquery selector that was targeting anchor tags with an href of #. Thanks for pointing me in the right direction!
