(s)
| 1 | export default function SortQuery(s) { |
| 2 | let query = ""; |
| 3 | for (let i = 0; i < s.length; i++) { |
| 4 | const e = s[i]; |
| 5 | |
| 6 | query += `&orderBy=${e.key},${e.order.toUpperCase()}`; |
| 7 | } |
| 8 | return query; |
| 9 | } |
nothing calls this directly
no outgoing calls
no test coverage detected