Commit e191d96
authored
feat: support created_at filter for the GET /users endpoint (#15633)
Closes #12747
We support these filters currently:
https://coder.com/docs/v2/latest/admin/users#user-filtering, adding
`created_at` filter as well.1 parent f16c809 commit e191d96Copy full SHA for e191d96
8 files changed
+170-4Lines changed: 170 additions & 4 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- coderd
- database
- dbmem
- queries
- searchquery
- docs/admin/users
Expand file treeCollapse file tree
Open diff view settings
Collapse file
coderd/database/dbmem/dbmem.go
Copy file name to clipboardExpand all lines: coderd/database/dbmem/dbmem.go+20Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5800 | 5800 | |
5801 | 5801 | |
5802 | 5802 | |
| 5803 | + |
| 5804 | + |
| 5805 | + |
| 5806 | + |
| 5807 | + |
| 5808 | + |
| 5809 | + |
| 5810 | + |
| 5811 | + |
| 5812 | + |
| 5813 | + |
| 5814 | + |
| 5815 | + |
| 5816 | + |
| 5817 | + |
| 5818 | + |
| 5819 | + |
| 5820 | + |
| 5821 | + |
| 5822 | + |
5803 | 5823 | |
5804 | 5824 | |
5805 | 5825 | |
|
Collapse file
coderd/database/modelqueries.go
Copy file name to clipboardExpand all lines: coderd/database/modelqueries.go+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
391 | 391 | |
392 | 392 | |
393 | 393 | |
| 394 | + |
| 395 | + |
394 | 396 | |
395 | 397 | |
396 | 398 | |
|
Collapse file
coderd/database/queries.sql.go
Copy file name to clipboardExpand all lines: coderd/database/queries.sql.go+17-2Lines changed: 17 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file
coderd/database/queries/users.sql
Copy file name to clipboardExpand all lines: coderd/database/queries/users.sql+11Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
199 | 199 | |
200 | 200 | |
201 | 201 | |
| 202 | + |
| 203 | + |
| 204 | + |
| 205 | + |
| 206 | + |
| 207 | + |
| 208 | + |
| 209 | + |
| 210 | + |
| 211 | + |
| 212 | + |
202 | 213 | |
203 | 214 | |
204 | 215 | |
|
Collapse file
coderd/searchquery/search.go
Copy file name to clipboardExpand all lines: coderd/searchquery/search.go+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
70 | 70 | |
71 | 71 | |
72 | 72 | |
| 73 | + |
| 74 | + |
73 | 75 | |
74 | 76 | |
75 | 77 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
317 | 317 | |
318 | 318 | |
319 | 319 | |
| 320 | + |
| 321 | + |
320 | 322 | |
321 | 323 | |
322 | 324 | |
|
Collapse file
+110Lines changed: 110 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
26 | 26 | |
27 | 27 | |
28 | 28 | |
| 29 | + |
29 | 30 | |
30 | 31 | |
31 | 32 | |
| 33 | + |
32 | 34 | |
33 | 35 | |
34 | 36 | |
| ||
1515 | 1517 | |
1516 | 1518 | |
1517 | 1519 | |
| 1520 | + |
| 1521 | + |
| 1522 | + |
| 1523 | + |
| 1524 | + |
| 1525 | + |
| 1526 | + |
| 1527 | + |
| 1528 | + |
| 1529 | + |
| 1530 | + |
| 1531 | + |
| 1532 | + |
| 1533 | + |
| 1534 | + |
| 1535 | + |
| 1536 | + |
| 1537 | + |
| 1538 | + |
| 1539 | + |
| 1540 | + |
| 1541 | + |
| 1542 | + |
| 1543 | + |
| 1544 | + |
| 1545 | + |
| 1546 | + |
| 1547 | + |
| 1548 | + |
| 1549 | + |
| 1550 | + |
| 1551 | + |
| 1552 | + |
| 1553 | + |
| 1554 | + |
| 1555 | + |
| 1556 | + |
| 1557 | + |
| 1558 | + |
| 1559 | + |
| 1560 | + |
| 1561 | + |
| 1562 | + |
| 1563 | + |
| 1564 | + |
| 1565 | + |
| 1566 | + |
| 1567 | + |
| 1568 | + |
| 1569 | + |
| 1570 | + |
| 1571 | + |
| 1572 | + |
| 1573 | + |
| 1574 | + |
| 1575 | + |
| 1576 | + |
| 1577 | + |
| 1578 | + |
| 1579 | + |
| 1580 | + |
| 1581 | + |
| 1582 | + |
| 1583 | + |
| 1584 | + |
| 1585 | + |
| 1586 | + |
1518 | 1587 | |
1519 | 1588 | |
1520 | 1589 | |
| ||
1657 | 1726 | |
1658 | 1727 | |
1659 | 1728 | |
| 1729 | + |
| 1730 | + |
| 1731 | + |
| 1732 | + |
| 1733 | + |
| 1734 | + |
| 1735 | + |
| 1736 | + |
| 1737 | + |
| 1738 | + |
| 1739 | + |
| 1740 | + |
| 1741 | + |
| 1742 | + |
| 1743 | + |
| 1744 | + |
| 1745 | + |
| 1746 | + |
| 1747 | + |
| 1748 | + |
| 1749 | + |
| 1750 | + |
| 1751 | + |
| 1752 | + |
| 1753 | + |
| 1754 | + |
| 1755 | + |
| 1756 | + |
| 1757 | + |
| 1758 | + |
| 1759 | + |
1660 | 1760 | |
1661 | 1761 | |
1662 | 1762 | |
| ||
1677 | 1777 | |
1678 | 1778 | |
1679 | 1779 | |
| 1780 | + |
| 1781 | + |
| 1782 | + |
| 1783 | + |
| 1784 | + |
| 1785 | + |
| 1786 | + |
| 1787 | + |
| 1788 | + |
| 1789 | + |
1680 | 1790 | |
1681 | 1791 | |
1682 | 1792 | |
|
Collapse file
+6-2Lines changed: 6 additions & 2 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
185 | 185 | |
186 | 186 | |
187 | 187 | |
188 | | - |
| 188 | + |
189 | 189 | |
| 190 | + |
| 191 | + |
190 | 192 | |
191 | 193 | |
192 | 194 | |
| ||
195 | 197 | |
196 | 198 | |
197 | 199 | |
198 | | - |
| 200 | + |
199 | 201 | |
200 | 202 | |
| 203 | + |
| 204 | + |
0 commit comments