mirror of
https://github.com/hansjone/netx.git
synced 2026-10-10 11:20:48 +08:00
Include host_name in UME NE keyword search
Extend GET /v1/ume/inventory/ne keyword filter with host_name; update Web placeholder. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
68c622979b
commit
c5f82f512d
2 changed files with 2 additions and 1 deletions
|
|
@ -553,6 +553,7 @@ def ume_list_ne(
|
|||
| UmeInventoryNE.ne_name.contains(kw)
|
||||
| UmeInventoryNE.user_label.contains(kw)
|
||||
| UmeInventoryNE.ip_address.contains(kw)
|
||||
| UmeInventoryNE.host_name.contains(kw)
|
||||
)
|
||||
total = int(stmt.count())
|
||||
rows = stmt.order_by(UmeInventoryNE.ne_id.asc()).offset((page - 1) * page_size).limit(page_size).all()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue