[solved] alpha index and pagination error

More
11 years 6 months ago - 11 years 6 months ago #35717 by kath
hi there,

[Problem]
my FE-category-view jumps to the wrong page when working with alpha index and pagination.

[Details]
I have a frontend-category-view with pagination and alpha-index. (category has 100's of items.)

Alpha-index shows correct subset of items: Click on 'Z' loads page of items starting with 'Z'.
But pagination generates links like '[...]/?start=50'
which brings me to the very first 50..100 items.
What I expect/need however is to see items 50..100 of my 'Z'-items.
('Z' is only an exanple, of course.)

[Question]
What am I doing wrong?
Do have to include alpha-index' hidden 'letter'-input somwhere? ...?

thanks a lot,
kath
EDIT:
okay, figured out so far that this would solve the issue: ?start=<some_number>&letter=z

Now searching for '$this->pageNav' to fix the broken links...

[Setup]
joomla 2.5.9
FC 2.0.1 (incl. three files 2.0.2)
okay, found out that
1) file 'listings_filter_form' correctly sets
<input type="hidden" name="letter" value="< ? php echo JRequest::getVar('letter'); ? >" id="alpha_index" />
and that
2) pagination works once GET param 'letter' is set. it does not work however when 'letter' is POSTed, e.g. by choosing a different alpha-index-letter.
Last edit: 11 years 6 months ago by kath.

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #35736 by ggppdk
It is a issue of the v2.0.2 files,

I have added this in the todo of v2.0.2

TODO: Check pagination in category view when using refining the view filtering, via search text/filters/alpha-index
(the view needs to show page 1 when refining the search)

I have the fix but must test it please, if i do not give you fix by 24h , then please post back


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #35828 by kath
hi George,

posting back :)
did you have the chance to test the fix yet?
if not, could you give me the untested code?

thanks a lot and regards,
kath

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #35835 by ggppdk
Please remind me it is site with SHS404SEF ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #35853 by kath
no, i just use joomla's own friendly urls.
thanks,
kath

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #35980 by ggppdk
Hello,
i cannot replicate this locally

- do you have a custom template i category view?
- can provide access to site or test site?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.636 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline