Giter Club home page Giter Club logo

Comments (5)

jrief avatar jrief commented on May 30, 2024

what do you mean by "when actions = none the sorting bar gets really long and sorting only works once."?

did you try to preorder the items using the management command?

from django-admin-sortable2.

jbreuer95 avatar jbreuer95 commented on May 30, 2024

When you add the option: actions = None to an adminview you disable the select box.
When the select box is disabled you get this effect:
screen shot 2016-04-29 at 12 42 25

from django-admin-sortable2.

jrief avatar jrief commented on May 30, 2024

ah, interesting!
Is this django-1.8 or 1.9. In 1.9 the css for admin changed a lot.

from django-admin-sortable2.

jbreuer95 avatar jbreuer95 commented on May 30, 2024

1.9.

Also changing items doesn't work right with the select box disabled.
Example:
When i change item one to position 3 it works fine.
But if i try to change the item again from position 3 to 5 it fails.
This is because the JS thinks the item still has position 1 and not 3.
Im not getting any JS errors but something is failing i suppose.

For now ill just enable the checkboxes, great plugin!

from django-admin-sortable2.

jrief avatar jrief commented on May 30, 2024

Fixed in 0.6.4

from django-admin-sortable2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.