mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-04 16:09:05 +00:00
fix: remove order_by from search request (#5994)
This commit is contained in:
@@ -54,14 +54,16 @@ impl Context for Export {
|
||||
.as_ref()
|
||||
.and_then(|event_type| get_search_event_context_from_request(event_type, &query_map));
|
||||
let query = search::Query {
|
||||
sql: format!("select * from {}", table),
|
||||
sql: format!(
|
||||
"select * from {} ORDER BY {} ASC",
|
||||
table, cfg.common.column_timestamp
|
||||
),
|
||||
from: 0,
|
||||
size: 100,
|
||||
quick_mode: false,
|
||||
query_type: "".to_owned(),
|
||||
start_time: c.start_time,
|
||||
end_time: c.end_time,
|
||||
sort_by: Some(format!("{} ASC", cfg.common.column_timestamp)),
|
||||
track_total_hits: false,
|
||||
uses_zo_fn: false,
|
||||
query_fn: None,
|
||||
|
||||
Reference in New Issue
Block a user