Comments (4)
Well, that might be possible. I use an external library for sorting and stuff (DataTables), but didn't find a viable solution yet. Unfortunately, at the moment, my time for this project is quite limited, so I'm not sure when I can get back to that.
That is understandable, of course. I will have a look as well, if I find a solution would you accept a patch/pull-request?
Later edit: I was able to implement this with a custom sort function and a couple small changes to the template (in order to include the "data-type" in other relevant columns as well). It works nicely for all relevant columns -- filename, last-modified, size, owner, group, etc. Let me know if you'd like me to submit that, and what your preferred format would be in that case!
from ifm.
Well, that might be possible. I use an external library for sorting and stuff (DataTables), but didn't find a viable solution yet. Unfortunately, at the moment, my time for this project is quite limited, so I'm not sure when I can get back to that.
from ifm.
Great to hear you could implement that. You can file a pull request and I look into it. Unfortunately I don't have reliable frontend tests yet, but if your changes aren't too big, I merge it. Keeping the directories always on top should be optional though, configurable either via the config array or in the frontend or both.
from ifm.
Great to hear you could implement that. You can file a pull request and I look into it. Unfortunately I don't have reliable frontend tests yet, but if your changes aren't too big, I merge it. Keeping the directories always on top should be optional though, configurable either via the config array or in the frontend or both.
Sure, I can definitely do that. It'll take me a bit longer to get it ready with the options code/etc., but it should be within the coming week or so -- I'll send a pull request then.
from ifm.
Related Issues (20)
- Feature request: custom colours HOT 2
- Doesn't work on raspberry pi HOT 2
- chdir(): No such file or directory (errno 2) in /app/public/files/index.php on line 5926" HOT 2
- Folder upload doesn't work HOT 1
- How to use a non-user owner:group to delete files in a folder HOT 3
- Discussion: Current state HOT 3
- Outdated release (Oct 2020) HOT 1
- Hint on where the configuration is contained HOT 2
- ZipArchive Class Not Found HOT 1
- Directory Access? HOT 2
- Corrupted picture files HOT 3
- PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) HOT 1
- [up] arrow does not return to previous directory HOT 1
- Hi there - I need to get help with root_dir HOT 1
- $initialWD is deprecated HOT 1
- Confirm Download Dialog ? HOT 1
- Enable logs HOT 5
- Invalid argument supplied for foreach HOT 1
- Long load time HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ifm.