BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

Sorting pages

Open lahoje opened this issue 1 year ago • 7 comments

Describe the Bug

After draging and dropping the pages in disired order and saving it, it doesn't sort as I saved it?

Steps to Reproduce

  1. Goto sorting a Book either under Book (Sort Book) or Chapter (Sort).
  2. Sort pages under a chapter of you choice.
  3. Save.
  4. Review the change - it still is sorted as before sorting i as described above.

Expected Behaviour

The pages should be sorted as you saved them.

Screenshots or Additional Context

BEFORE SAVE AFTER SORTING Sort - after

AFTER SAVE Sort - before

Browser Details

MS Edge Version 126.0.2592.61 (Officiell version) (arm64); Chrome Version 126.0.6478.62 (Officiell version) (arm64)

Exact BookStack Version

BookStack v24.05.1

lahoje avatar Jun 19 '24 07:06 lahoje

Greetings @lahoje,

I hope you're well. Could you please provide more details, such as the Laravel logs? They are often located in /app/www/storage/logs.

Kind regards, Kilian GOËTZ.

kilian-goetz avatar Jun 19 '24 13:06 kilian-goetz

@Beladric I don't think the logs would be too relevant here since there doesn't seem to be a specific error thrown.

@lahoje Can you please provide some detail in regard to how you're hosting BookStack? (Install method, Hosting method, host OS, service used etc...)

ssddanbrown avatar Jun 19 '24 14:06 ssddanbrown

@ssddanbrown Hello and thanks for your reply. I have to ask my ISP. I've attached the laravel log in case it could point at some direction in the meanwhile. laravel.log

lahoje avatar Jun 20 '24 07:06 lahoje

Hi again, here's requested information installation method etc:

Install method: Manual installation through Git clone Hosting method: Litespeed webserver, CloudLinux OS, PHP 8.2

lahoje avatar Jun 23 '24 08:06 lahoje

@lahoje Is this some kind of hosting provider? If so, Do you have access to choose/change/select which PHP extensions are active or in use?

ssddanbrown avatar Jun 23 '24 10:06 ssddanbrown

@ssddanbrown Yes it's a hosting provider and I can see how I can manage php extensions using their management console.

lahoje avatar Jun 23 '24 13:06 lahoje

Hi again. we found the problem in the issue report #4700 regarding nd_pdo issue. I've submitted a PR to clarify the option for nd_pdo_mysql.

lahoje avatar Jun 23 '24 19:06 lahoje