Skip to content
Discussion options

You must be logged in to vote

This is a method, but I don't want to change the original requests name because other personnel sometimes don't know the specific requests name.
Today I looked at the source code on GitHub and found that the "webui/src/books/useSortByField.ts" file is sorted by name as the keyword.
export default function useSortByField<Row>( rows: Row[], { hasTotalRow = false, defaultSortKey = 'name' as keyof Row }: ISortByFieldOptions<Row> = { hasTotalRow: false, defaultSortKey: 'name' as keyof Row, }, ) ......
So only need to modify here, there are two methods:
one is to modify the source code and recompile "locust", but this requires consideration of dependencies in Windows or LINUX environments, whic…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@BackWarrior
Comment options

Answer selected by BackWarrior
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants