Skip to content

ordering items #230

Description

@tommiller1

Hey,

First of all great work on this gem!

I seem to have run into an issue though, my model returns objects in desc order with this:
default_scope -> { order(created_at: :desc) }

The objects returned by entangle in the index method only take this into account on the first fetch. Subsequent fetches append the new objects at the end, is there any way to prepend new objects to the list?

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions