1rosehip / 1rosehip/jplist

Multi sort seems not to work

Open
#237 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
HTML
Stars
435
Forks
168
PR merge metrics
No merged PRs in 30d

Description

Hello,

I'm trying to implement multi sort, but it doesn't seems to work:

It works:
```

Trier par
Section

```

It doesn't work:
```

Trier par

```
It's seems parameters are taken by jplist:
![capture du 2016-11-17 16-17-59](https://cloud.githubusercontent.com/assets/13850216/20394931/803fc842-ace1-11e6-9baf-3cc64ceb0393.png)

But the program just put the list to the loading state and doesn't made any sorting.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue is about multi-sort not working in jPList. Look at the HTML examples provided: the first works, the second (with data-path1, data-order1, data-type1) does not. Examine the jPList source code for sort handling, likely in the core jquery.jplist.js or related sort modules. Check how multi-sort parameters are parsed and applied. The bug may be in parameter reading or sorting logic. Test by creating a simple HTML list with the multi-sort markup and debugging the jPList behavior in the browser console.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.