Help get this topic noticed by sharing it on Twitter, Facebook, or email.
I’m unsure

{absolute_results} not working properly

Hi Low

I'm getting some strange behaviour when using the {absolute_results} variable in Low Alphabet with pagination.

What seems to happen is that when a paginated alpha group is first loaded it shows the correct number of entries ... but at some stage when clicking up and down through the result pages, the tag stops working and displays the count of entries on the current page, rather than the total number of results across the entire paginated set.

So it starts off working okay, but then at some point stops working. Instead of {absolute_results} it starts to show {total_results} instead.

I hope that makes some kind of sense. It's a bit hard to explain ... but I'd be interested to see if you can replicate this issue on your own system.

Cheers
Andrew
1 person has
this problem
+1
Reply
  • Low (Official Rep) July 19, 2011 14:58
    Hey Andrew,

    That's pretty strange indeed. Let's narrow this down a bit.

    1. When it happens, does it happen at the same URL all the time? Or is it intermittent?
    2. What version of EE are you using?
    3. Can you replicate this behaviour with a regular channel:entries tag?

    Low Alphabet simply collects the entry_ids of the entries to display and then passes them on to the Channel module, which takes care of the parsing of variables etc. Including the {absolute_results} and {total_results} vars. So in theory, Low Alphabet shouldn't affect it...
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated