matfish2 / craft-activity-log

Record HTTP requests to Craft
https://plugins.craftcms.com/activity-logs?craft4
Other
0 stars 1 forks source link

All action can't show in action filter drop-down #13

Closed ks-arshitk closed 11 months ago

ks-arshitk commented 12 months ago

Craft: 3.6.12.1 Activity Logs: 0.2.1 PHP: 7.2

All action option can't show in action filter drop-down option. Is there any way to show all option in drop-down

Screenshots image

ks-arshitk commented 11 months ago

@matfish2 Is there any way to change default drop-down to custom drop-down ?

matfish2 commented 11 months ago

@ks-arshitk on the Craft 3 version only named actions are displayed in actions drop down. In order to be able to filter the action, you should go to the Actions page first and assign a name to the action. E.g "Update Course Progress" https://github.com/matfish2/craft-activity-log?tab=readme-ov-file#action-requests

In Craft 4 version unnamed actions are automatically named, based on a convention.

ks-arshitk commented 11 months ago

@matfish2 In craft3, i can't see action tab

image

matfish2 commented 11 months ago

@ks-arshitk in Craft 3 it is under Settings->Activity Logs

ks-arshitk commented 11 months ago

@matfish2 Activity Logs : v0.2.1 craft : 3.6.12.1

There is nothing like action, Can you share screen shot

image

matfish2 commented 11 months ago

Apologies. @ks-arshitk, I forgot adding actions UI was only added on Craft 4.

matfish2 commented 11 months ago

@ks-arshitk can you please try version 0.2.2

ks-arshitk commented 11 months ago

@matfish2 SQLSTATE[42S22]: Column not found: 1054 Unknown column 'craft_actionSegments' in 'field list'\nThe SQL being executed was: SELECTcraft_actionSegments\nFROMcraft_activitylog\nWHEREcraft_actionSegmentsIS NOT NULL\nGROUP BYcraft_actionSegments

I check in database and there is actionSegments column.

matfish2 commented 11 months ago

@ks-arshitk Fixed. Please can you try 0.2.3

ks-arshitk commented 11 months ago

@matfish2 Thank you :+1: