Skip to content

Commit 27ac3b6

Browse files
committed
Changes to public/private album settings in Collection Clone
1 parent 733c007 commit 27ac3b6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

piwigoPublish.lrplugin/PWImportService.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ local function createTree(nodes, parentSet, publishService, created, childrenInd
356356
local remoteAlbumId = node.remoteId
357357
local remoteAlbumUrl
358358
local comment = ""
359-
local status = ""
359+
local status = "public" -- ensure default is public
360360
local isSmartColl = false
361361
local searchDesc
362362
if extra then
@@ -391,7 +391,7 @@ local function createTree(nodes, parentSet, publishService, created, childrenInd
391391
collectionSettings.albumPrivate = status == "private"
392392
else
393393
collectionSettings.albumDescription = ""
394-
collectionSettings.albumPrivate = "public"
394+
collectionSettings.albumPrivate = false
395395
end
396396
if remoteAlbumId then
397397
local thisCat = PiwigoAPI.pwCategoriesGetThis(propertyTable, remoteAlbumId)
@@ -458,7 +458,7 @@ local function createTree(nodes, parentSet, publishService, created, childrenInd
458458
collectionSettings.albumPrivate = status == "private"
459459
else
460460
collectionSettings.albumDescription = ""
461-
collectionSettings.albumPrivate = "public"
461+
collectionSettings.albumPrivate = false
462462
end
463463
if remoteAlbumId then
464464
-- check if remoote album exists and add to collection if so
@@ -770,7 +770,7 @@ local function importServicePrelim(propertyTable, thisService, impService)
770770
f:row {
771771
f:static_text {
772772
title = text3,
773-
font = "<system>",
773+
font = "<system/bold>",
774774
alignment = 'left',
775775
fill_horizontal = 1,
776776
height_in_lines = 1,

0 commit comments

Comments
 (0)