flask-sqlalchemy
Advanced tools
+7
-0
@@ -0,1 +1,8 @@ | ||
| Version 2.4.2 | ||
| ------------- | ||
| Released 2020-04-22 | ||
| - Fix bad pagination when records are de-duped. :pr:`812` | ||
| Version 2.4.1 | ||
@@ -2,0 +9,0 @@ ------------- |
| Metadata-Version: 1.2 | ||
| Name: Flask-SQLAlchemy | ||
| Version: 2.4.1 | ||
| Version: 2.4.2 | ||
| Summary: Adds SQLAlchemy support to your Flask application. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/pallets/flask-sqlalchemy |
@@ -27,3 +27,3 @@ # -*- coding: utf-8 -*- | ||
| __version__ = "2.4.1" | ||
| __version__ = "2.4.2" | ||
@@ -502,8 +502,3 @@ # the best timer function for the platform | ||
| # No need to count if we're on the first page and there are fewer | ||
| # items than we expected. | ||
| if page == 1 and len(items) < per_page: | ||
| total = len(items) | ||
| else: | ||
| total = self.order_by(None).count() | ||
| total = self.order_by(None).count() | ||
@@ -510,0 +505,0 @@ return Pagination(self, page, per_page, total, items) |
+1
-1
| Metadata-Version: 1.2 | ||
| Name: Flask-SQLAlchemy | ||
| Version: 2.4.1 | ||
| Version: 2.4.2 | ||
| Summary: Adds SQLAlchemy support to your Flask application. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/pallets/flask-sqlalchemy |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
337080
-0.03%2631
-0.19%