6.0.0-RC7
6/23/26

[#12431] Sorting in sub-folder cannot work
Summary Sorting in sub-folder cannot work
Queue Gollem
Queue Version 3.0.1
Type Bug
State Assigned
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester busywater (at) gmail (dot) com
Created 7/7/13 (4734 days ago)
Due
Updated 7/8/13 (4733 days ago)
Assigned 7/8/13 (4733 days ago)
Resolved
Github Issue Link
Github Pull Request
Milestone
Patch No

History
239 Jan Schneider Assigned to Jan Schneider
State ⇒ Assigned
 
26 busywater (at) gmail (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Sorting in sub-folder cannot work
Queue ⇒ Gollem
Milestone ⇒
Patch ⇒ No
Reply to this comment
I discover a problem when using the sorting function in Gollem 3.0.1.

I have only one backends running in smb.  When I go inside a 
sub-folder of the share, trying using one of the sorting (e.g. by 
updated date) on the top.  It cannot return the result in the current 
folder but the root folder of the share.

The backend.local.php is as follows:

// SMB Example
$backends['smb'] = array(
   // Disabled by default
   'disabled' => false,
   'name' => 'W:',
   'driver' => 'smb',
   'hordeauth' => true,
   'params' => array(
       'hostspec' => 'file.sambadom.org',
       'port' => 445,
       'share' => 'Public',
       // Path to the smbclient executable.
       'smbclient' => '/usr/local/samba/bin/smbclient4',
       // IP address of server (only needed if hostname is different from
       // NetBIOS name).
       // 'ipaddress' => '127.0.0.1',
       // The default permissions to set for newly created folders and
       // files.
       // 'permissions' => '750'
   ),
   'loginparams' => array(
       // Allow the user to change to Samba server.
       // 'hostspec' => 'Hostname',
       // Allow the user to change the Samba port.
       // 'port' => 'Port',
       // Allow the user to change the Samba share.
       // 'share' => 'Share',
   ),
   // 'root' => '',
   // 'home' => '',
   // 'createhome' => false,
   // 'filter' => '^regex$',
   // 'quota' => false,
   'attributes' => array(
       'type',
       'name',
       'edit',
       'download',
       'modified',
       'size'
   )
);

Saved Queries