Skip to content

Sortable tables in bRestore#1

Closed
frb121 wants to merge 1 commit intobareos:masterfrom
frb121:master
Closed

Sortable tables in bRestore#1
frb121 wants to merge 1 commit intobareos:masterfrom
frb121:master

Conversation

@frb121
Copy link
Contributor

@frb121 frb121 commented Aug 21, 2013

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

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
pstorz pushed a commit that referenced this pull request Jan 28, 2020
…ncements-rebased

Ovirt Plugin: fix typos that showed up during review
pstorz pushed a commit that referenced this pull request Feb 4, 2020
Use a sub-DB for DUPSORT item #1/#2 per key if needed: Not a sub-
page too big for a node, nor an overflow page (which not all DUPSORT
code checks for). Move "insert" code, to avoid non-loop goto upwards.

(This is the commit which needs the change to xdata.mv_size in
commit 9d6e4a9 "page sizes".)
franku pushed a commit that referenced this pull request Feb 25, 2021
structure created, first sample director plugin
franku pushed a commit that referenced this pull request Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants