[OpenNMS/opennms] e7e20a: NMS-20267: fix asset-field column keys and align h...

joseanesONMS via opennms-cvs <[email protected]>
Newsgroups gmane.network.opennms.cvs
Message-ID <OpenNMS/opennms/push/refs/heads/jira/NMS-20267-inventory-search/[email protected]>
  Branch: refs/heads/jira/NMS-20267-inventory-search
  Home:   https://github.com/OpenNMS/opennms
  Commit: e7e20a21a4c9ed1beabc516f591d001f62176c8f
      https://github.com/OpenNMS/opennms/commit/e7e20a21a4c9ed1beabc516f591d001f62176c8f
  Author: Jose Anes <[email protected]>
  Date:   2026-08-27 (Thu, 27 Aug 2026)

  Changed paths:
    M ui/src/components/InventorySearch/InventorySearchHelp.vue
    M ui/src/components/InventorySearch/options.ts
    M ui/src/containers/InventorySearch.vue
    M ui/tests/containers/InventorySearch.test.ts

  Log Message:
  -----------
  NMS-20267: fix asset-field column keys and align help text with real matching

Review of the search page found the asset-field search could silently return
the whole node list, and several help texts promised behavior the Node list
doesn't provide:

- 'Maint Contract' and 'Maint Contract Expires' mapped to column keys
  (maintContract / maintContractExpires) the Node list's asset-column
  whitelist rejects, so those searches were dropped and returned every node.
  They now use the accepted keys (maintcontract / maintContractExpiration).
- The node-name help described _ and % wildcards (legacy SQL LIKE); the Node
  list uses * — corrected in the field hint and the About dialog.
- The asset-field and Foreign Source searches route to an exact FIQL match,
  not a substring; the labels, hints and placeholder now say so.
- Restored the legacy quick links (All nodes, All nodes with asset info).
- Expanded the tests to assert the query-key contract for the interface,
  asset-field, foreign-source, mac and flows criteria.



To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications


_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.