Releases: stefangabos/Zebra_Pagination
Releases · stefangabos/Zebra_Pagination
2.4.8
2.4.7
2.4.6
2.4.5
- fixed an issue when the library was in
condensed
mode and there were no records available
2.4.3
- fixed a bug when having arrays in the URL (like
select-products?&example[family]=MyFamily&example[subfamily]=Mysubfamily&other_param=Other
); see #36; thanks Franck Dupont!
2.4.2
- fixed a bug where encoded ampersands in pre-existing URL parameters were incorrectly handled; see #34; thanks Tom-Lovatt!
2.4.1
2.4.0
- fixed compatilibty issues with PHP 8 and updated examples to work with latest versions of MariaDB
- fixed bug where the library was not working correctly for
method
beingurl
,variable
beingan empty string
and last segment of an URL being a numerical value; see #25; thanks Bilge! preg_quote
-d user variables used inpreg_replace
; see #26; thanks Bilge!- removed
rel="next"
andrel="prev"
as these are not an indexing signal anymore; see #21; thanks Bilge! - pagination links are now in an
ordered list
instead of anunordered
list` making the output semantically correct since the order of elements is imperative; see #24; thanks Bilge! - fixed bug where when
method
was set tourl
, the library would not respect the value ofavoid_duplicate_content
when this was set tofalse
; see #27; thanks Bilge! - fixed bug where having always_show_navigation set to
TRUE
would still not display pagination if there was a single page to be shown (see #6) - added a condensed mode which removes pagination links leaving only the next and previous buttons, links to the first and last pages, as well as a label showing the current page and the total available pages
- updated examples
2.3.1
- fixed a typo in the previous release
2.3
- a new css_classes method was added for setting the CSS classes used in the markup; additionally, the library is now also compatible with Twitter Bootstrap 4
- updated example to use the
mysqli
extension instead of themysql
extension, fixing #6 - thank you Elra Ghifary - fixed some typos in the examples (see #9)