GithubHelp home page GithubHelp logo

damianlewis / oc-sortablerelations-plugin Goto Github PK

View Code? Open in Web Editor NEW
17.0 3.0 4.0 21 KB

Adds drag and drop sorting functionality to the view list of the relations controller in October CMS

License: MIT License

PHP 23.14% CSS 0.24% JavaScript 76.62%
octobercms octobercms-plugin sortable many-to-many relations

oc-sortablerelations-plugin's Issues

Column 'id' in where clause is ambiguous

First of all thank you for such a great plugin.

I'm using the plugin with the setup in readme. Having such an error when drag and drop the columns. Seems that in the query id should have the parent table indicator. But I couldn't find the place to correct it.

SQL: select 'imt_gammaoperationengine_vehicles'.*, 'imt_gammaauctionengine_auction_vehicle'.'auction_id' as 'pivot_auction_id', 'imt_gammaauctionengine_auction_vehicle'.'vehicle_id' as 'pivot_vehicle_id', 'imt_gammaauctionengine_auction_vehicle'.'relation_sort_order' as 'pivot_relation_sort_order' from 'imt_gammaoperationengine_vehicles' inner join 'imt_gammaauctionengine_auction_vehicle' on 'imt_gammaoperationengine_vehicles'.'id' = 'imt_gammaauctionengine_auction_vehicle'.'vehicle_id' where 'imt_gammaauctionengine_auction_vehicle'.'auction_id' = 3 and is_expert_reported = 1 and is_consultant_approved = 1 and 'id' = 5 and 'imt_gammaoperationengine_vehicles'.'deleted_at' is null limit 1)" on line 664 of ...

getSimpleValue()

"Call to undefined method October\Rain\Database\QueryBuilder::getSimpleValue()" on line 2483 of /Applications/MAMP/htdocs/category_post/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php

help!!

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.