Skip to content

fieldFinders need to have an orderby field #31

Description

@synapticloop

the fieldFinders current looks like:

"fieldFinders": [
	{ "id_sm_creditor": "unique" },
	{ "cd_payment_method,fl_is_active": "multiple" }
],

There should be a fieldFinder which has the following format:

	{ "fields": "cd_payment_method,fl_is_active", "unique": true/false, "orderBy": "<comma_separated_field_list>"

the <comma_separated_field_list> could either generate all ASCending and DESCending order by, or it may be more prudent to all woth user to typ a comma separated field list like:

"orderBy": "nm_creditor desc,cd_creditor desc"

which will generate to finders with each of the orders.

The name of the finder would be:

findByCdPaymentMethodFlIsActiveOrderedByNmCreditorDesc and findByCdPaymentMethodFlIsActiveOrderedByCdCreditorDesc

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions