correction fonction filter, la liste est construite avant l'affichage
This commit is contained in:
parent
5619b57f0f
commit
036b7c953a
@ -61,9 +61,11 @@ ZenityPulsate () {
|
||||
|
||||
BorgFilter () {
|
||||
if [ "$filter" = "" ];then
|
||||
Borg_Archive=$(borg list --short "$borg_repo" | zenity $H $W $iconborg --list --title "Listes des archives" --column "Archive")
|
||||
BorgArchiveList=$(borg list --short "$borg_repo")
|
||||
Borg_Archive=$(echo -e "$BorgArchiveList" | zenity $H $W $iconborg --list --title "Listes des archives" --column "Archive")
|
||||
else
|
||||
Borg_Archive=$(borg list --short "$borg_repo" | grep "$filter" | zenity $H $W $iconborg --list --title "Listes des archives" --column "Archive")
|
||||
BorgArchiveList=$(borg list --short "$borg_repo")
|
||||
Borg_Archive=$(echo -e "$BorgArchiveList" | grep "$filter" | zenity $H $W $iconborg --list --title "Listes des archives" --column "Archive")
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user