Ensure that jsonindex count doesn't fail for zero results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KARL4 |
Fix Released
|
Medium
|
Jim Fulton |
Bug Description
Partial traceback:
File "/srv/karlstagi
principals=
File "/srv/karlstagi
return get_searcher_
File "/srv/karlstagi
total, batch = searcher(context, request, kw, batch_start, batch_size)
File "/srv/karlstagi
context._p_jar, query, kw, batch_start, batch_size)
File "/srv/karlstagi
return count, result
UnboundLocalError: local variable 'count' referenced before assignment
Changed in karl4: | |
status: | New → Fix Committed |
Changed in karl4: | |
status: | Fix Committed → Fix Released |