Sortable tables in bRestore#1
Closed
frb121 wants to merge 1 commit intobareos:masterfrom
frb121:master
Closed
Conversation
Quick as is fix. Enable sorting in bRestore by setting the sorting attribute using setSortingEnabled() on the bRestoreTable objects. For FileList and FileRevisions we disable the sorting during the filling of the table (to not make it to slow) and explicitly sort the FileList on the filenames in them ascending and the FileRevisions on the revision date descending (so you get the newest revision first in the list.) Some sorting doesn't work or doesn't work right as we need to write new sorting operators which are not there. That is something we won't solve any time soon. The restore list also has the sorting attribute enabled so you can use sorting in that view too. Fixes #215: Sortable tables in bRestore
dne
pushed a commit
to dne/bareos
that referenced
this pull request
May 8, 2018
fixes table of content
pstorz
pushed a commit
that referenced
this pull request
Jan 28, 2020
…ncements-rebased Ovirt Plugin: fix typos that showed up during review
franku
pushed a commit
that referenced
this pull request
Feb 25, 2021
structure created, first sample director plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Quick as is fix. Enable sorting in bRestore by setting the sorting
attribute using setSortingEnabled() on the bRestoreTable objects.
For FileList and FileRevisions we disable the sorting during the
filling of the table (to not make it to slow) and explicitly sort
the FileList on the filenames in them ascending and the FileRevisions
on the revision date descending (so you get the newest revision first
in the list.) Some sorting doesn't work or doesn't work right as we
need to write new sorting operators which are not there. That is
something we won't solve any time soon. The restore list also has
the sorting attribute enabled so you can use sorting in that view too.
Fixes #215: Sortable tables in bRestore