ForageWeb.ForageController.forage_select_data_without_pagination

You're seeing just the function forage_select_data_without_pagination, go back to ForageWeb.ForageController module for more information.
Link to this function

forage_select_data_without_pagination(entries)

Renders paginated data into a shape that the select widget expects. Removes pagination data.

This function returns a map. The user must use the JSON encoder in the Phoenix application to generate a JSON response.

It would be more succint to return JSON directly from this function, but Forage has no way of invoking the application's JSON encoder, so we leave that responsibility to the user.

Examples:

TODO