rate-search macro showing extra results?

We've implimented the {rate} macro on a number of pages of our space, and wanted to see a single rollup of the ratings on all those pages. Enter the {rate-search} macro - a single line of markup code and we can get a table of all this information (fantastic!). However, we've noticed a couple quirks in the {rate-search} macro behavior that I'd like help troubleshooting:

1) (Issue?) The {rate-search} table lists ALL pages in the space, not just the ones with the {rate} macro on them. I would expect pages without the macro not to be listed at all.

2) (Issue?) The {rate-search} table lists pages that have been since deleted from the space (well, at least moved into the trash can). I would expect deleted pages to be removed from the table.

Platform = v3.5.13
rate plugin = v3.1

1 answer

Dan, I know this question was asked a long time ago, but I'll add a little info since I'm playing with it now... The ratings history is stored in the BANDANA table, which is largely ignored by Confluence when doing operations such as deleting a page. As a result, if you delete a page in Confluence, the "historical" rating data sticks around. You'd have to remove this stuff manually to get rid of old data such as the ratings on those deleted pages.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

441 views 8 26
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you