Controls and Counters are missing for number of items less than (number of items per slide x number of slide).
This bug might arise with the fix of issue: https://www.drupal.org/node/2844052
Steps to Reproduce:
1) create a view slider with items per slide = 4 settings
2) add counter, pager, & controls in display with the options selected "Hide controls if there is only one slide" (for all)
3) now provide 7 results to the view
4) you will see there would be no controls, (or counters, pager) in display (check in frontend not in the views preview) which should be the case when results <=4
Now,
5) provide 8, 12, 16 (exact results multiple of 4 which is the number of items per slide)
6) the controls, counters, pager will be displayed
This means only when the number of items is exact multiple of set "items per slide" then only the controls, counters and pager will display otherwise not.
Comment | File | Size | Author |
---|---|---|---|
#4 | Fix-for-Controls-and-Counters-are-missing-2866310-3.patch | 890 bytes | nghai |
|
Comments
Comment #2
nghai CreditAttribution: nghai at ]init[ AG commentedComment #3
nghai CreditAttribution: nghai at ]init[ AG commentedComment #4
nghai CreditAttribution: nghai at ]init[ AG commentedIt only happens when slide_count <2 but greater than 1 i.e. requires two slides to fit the total number of items.
Patch is attached. Please review it!
Comment #5
nghai CreditAttribution: nghai at ]init[ AG commentedComment #6
harivenuvHi nghai,
This patch is working thank you for the patch.
thank you,
Hari
Comment #7
harivenuvComment #8
NickDickinsonWildeMakes sense, thanks for the patch, muchly appreciated!
sorry it took so long to get it committed.
Comment #10
nghai CreditAttribution: nghai at ]init[ AG commentedThanks for accepting that patch!