[PR #11] [CLOSED] Order by #99

Closed
opened 2026-02-26 01:33:13 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jeffknupp/sandman2/pull/11
Author: @jmcarp
Created: 8/30/2015
Status: Closed

Base: masterHead: order-by


📝 Commits (9)

  • 188d7fb Fix failing admin test.
  • 59d3cad Install on Travis with setuptools.
  • 6dd763a Add query operators.
  • 91fad8f Add not equal operator.
  • 72cd4e2 Handle filtering on repeated query parameters.
  • 3ca05c2 Test case insensitive setting.
  • f6bc4ca Allow custom query delimiters.
  • ecf5829 Use WebTest for more concise tests.
  • 3bca1f9 Support ordering by query parameter.

📊 Changes

12 files changed (+390 additions, -185 deletions)

View changed files

📝 .travis.yml (+9 -10)
📝 requirements.txt (+3 -0)
sandman2/operators.py (+114 -0)
📝 sandman2/service.py (+25 -4)
sandman2/utils.py (+22 -0)
📝 setup.py (+3 -1)
📝 tests/automap_models.py (+6 -3)
📝 tests/conftest.py (+8 -2)
📝 tests/test_automap_base_models.py (+4 -10)
📝 tests/test_extended_functionality.py (+4 -7)
📝 tests/test_sandman2.py (+155 -97)
📝 tests/test_user_models.py (+37 -51)

📄 Description

Support ordering by query parameter.

  • Support multi-column sort by repeated sort parameters
  • Support descending sort by prepending "-" to values

Based on #6; relevant changes are in 3bca1f9bb9.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jeffknupp/sandman2/pull/11 **Author:** [@jmcarp](https://github.com/jmcarp) **Created:** 8/30/2015 **Status:** ❌ Closed **Base:** `master` ← **Head:** `order-by` --- ### 📝 Commits (9) - [`188d7fb`](https://github.com/jeffknupp/sandman2/commit/188d7fb92a61a4cf7e716917fb3ae9cb36c07769) Fix failing admin test. - [`59d3cad`](https://github.com/jeffknupp/sandman2/commit/59d3cad1549c30c289a018262ae5c86887aaa45b) Install on Travis with setuptools. - [`6dd763a`](https://github.com/jeffknupp/sandman2/commit/6dd763a636099fec508d418fbdec6c5e74480ca8) Add query operators. - [`91fad8f`](https://github.com/jeffknupp/sandman2/commit/91fad8f6dd8494e903e445a9ab0a364b666b15f0) Add not equal operator. - [`72cd4e2`](https://github.com/jeffknupp/sandman2/commit/72cd4e2da7cc35b385a56c0f2ee09fbcde8cd505) Handle filtering on repeated query parameters. - [`3ca05c2`](https://github.com/jeffknupp/sandman2/commit/3ca05c2c8c38b7a95f41b27fcc948929691cb4f2) Test case insensitive setting. - [`f6bc4ca`](https://github.com/jeffknupp/sandman2/commit/f6bc4cade9a1e802aabb4a828fc97581285ea805) Allow custom query delimiters. - [`ecf5829`](https://github.com/jeffknupp/sandman2/commit/ecf5829044990221cfcc20510f679cec4cda252e) Use WebTest for more concise tests. - [`3bca1f9`](https://github.com/jeffknupp/sandman2/commit/3bca1f9bb9316f9e94de50eca87a56a2d0329738) Support ordering by query parameter. ### 📊 Changes **12 files changed** (+390 additions, -185 deletions) <details> <summary>View changed files</summary> 📝 `.travis.yml` (+9 -10) 📝 `requirements.txt` (+3 -0) ➕ `sandman2/operators.py` (+114 -0) 📝 `sandman2/service.py` (+25 -4) ➕ `sandman2/utils.py` (+22 -0) 📝 `setup.py` (+3 -1) 📝 `tests/automap_models.py` (+6 -3) 📝 `tests/conftest.py` (+8 -2) 📝 `tests/test_automap_base_models.py` (+4 -10) 📝 `tests/test_extended_functionality.py` (+4 -7) 📝 `tests/test_sandman2.py` (+155 -97) 📝 `tests/test_user_models.py` (+37 -51) </details> ### 📄 Description Support ordering by query parameter. - Support multi-column sort by repeated `sort` parameters - Support descending sort by prepending "-" to values Based on #6; relevant changes are in 3bca1f9bb9316f9e94de50eca87a56a2d0329738. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 01:33:13 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sandman2-jeffknupp#99
No description provided.