Allow searching for job

develop
Myk 2023-10-07 20:51:11 -07:00 committed by GitHub
parent 9865eda984
commit 8886cd7e79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

@ -134,7 +134,9 @@ end
local function make_cri_unitst_handlers(vec)
return {
search_fn=curry(general_search, vec,
function(elem) return elem.sort_name end,
function(elem)
return ('%s %s'):format(elem.sort_name, elem.job_sort_name)
end,
get_sort),
cleanup_fn=curry(cri_unitst_cleanup, vec),
}