pfsense_fauxapi icon indicating copy to clipboard operation
pfsense_fauxapi copied to clipboard

Use sort by name by default

Open nagyrobi opened this issue 4 years ago • 2 comments

Some interfaces IP address may change over time, making it harder to process outputted data. If data is ordered by name, the json can be parsed perfectly in child systems.

nagyrobi avatar Jun 13 '20 07:06 nagyrobi

Hi - this is a fairly simple patch, but I'm reluctant to change default behavior without a way that allows developers to get-back the original behavior - for example you could pass a $sort parameter into function gateway_status

ndejong avatar Jun 14 '20 04:06 ndejong

Would also be interested in this ability

JOHLC avatar Mar 09 '21 18:03 JOHLC