? ? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
7 Apr 2021

PR for #33021

Hopefully this resolves the bug reported with #30813.
#30904 tried to fix it by removing the feature introduced with #23710 completely which was wrong

To test

  • Create at least 10 contacts in the same category
  • Create a menu item to display all the contacts in that category
  • in the menu options make sure that Display Select is set to show (List layouts tab)
  • In the global configuration check the value for default list limit (its probably 20)
  • In the front end go to the new contact list menu item
  • Check that the list limit select is displayed
  • Check that the value is the same as in global config
  • Check that changing the value in the select works
  • Go back to the admin and edit the menu item and find the # contacts to list at the bottom of the list layouts tab
  • Change the value from Global to 5 and save
  • Clear "cookies" !!!
  • In the front end go to the updated contact list menu item
  • Check that the value is the same as you just set in the menu item (eg 5)
  • Check that changing the value in the select works
avatar brianteeman brianteeman - open - 7 Apr 2021
avatar brianteeman brianteeman - change - 7 Apr 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Apr 2021
Category Administration com_contact Language & Strings Front End
avatar brianteeman brianteeman - change - 7 Apr 2021
The description was changed
avatar brianteeman brianteeman - edited - 7 Apr 2021
avatar brianteeman brianteeman - change - 7 Apr 2021
Title
[4.0] Category list limits
[4.0] Conact Category list limits
avatar brianteeman brianteeman - edited - 7 Apr 2021
avatar brianteeman brianteeman - change - 7 Apr 2021
Title
[4.0] Conact Category list limits
[4.0] Contact Category list limits
avatar brianteeman brianteeman - edited - 7 Apr 2021
avatar joomdonation
joomdonation - comment - 7 Apr 2021

@brianteeman Thanks for working on this issue. There are some small problems with your proposed code and I made a PR to your branch to fix it brianteeman#123 . Please review, test it and if it is OK for you, please merge it so that we can test.

avatar brianteeman brianteeman - change - 7 Apr 2021
Labels Added: ? ?
avatar brianteeman
brianteeman - comment - 7 Apr 2021

@joomdonation - thanks - missed that use case.

avatar PhilETaylor
PhilETaylor - comment - 7 Apr 2021
FILE: /********/src/components/com_contact/src/Model/CategoryModel.php
47	----------------------------------------------------------------------
48	FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
49	----------------------------------------------------------------------
50	 295 | WARNING | Line exceeds 150 characters; contains 166
51	     |         | characters (Generic.Files.LineLength.TooLong)
52	----------------------------------------------------------------------
avatar ceford ceford - test_item - 8 Apr 2021 - Tested successfully
avatar ceford
ceford - comment - 8 Apr 2021

I have tested this item successfully on 34828ff

Note for testers: clear cookies is tricky as it forces logout - try a different browser instead?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33050.

avatar joomdonation
joomdonation - comment - 8 Apr 2021

@brianteeman Could you please fix the code style here so that I can test it and get this one merged? I see some other potential issues with the CategoryModel class (not really related to this PR), but I can make a separate PR after this one merged.

0f10d55 8 Apr 2021 avatar brianteeman cs2
avatar joomdonation joomdonation - test_item - 8 Apr 2021 - Tested successfully
avatar joomdonation
joomdonation - comment - 8 Apr 2021

I have tested this item successfully on 0f10d55


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33050.

avatar joomdonation joomdonation - alter_testresult - 8 Apr 2021 - ceford: Tested successfully
avatar Quy Quy - change - 8 Apr 2021
Status Pending Ready to Commit
avatar Quy
Quy - comment - 8 Apr 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33050.

avatar richard67 richard67 - close - 9 Apr 2021
avatar richard67 richard67 - merge - 9 Apr 2021
avatar richard67 richard67 - change - 9 Apr 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-04-09 16:53:12
Closed_By richard67
Labels Added: ?
avatar richard67
richard67 - comment - 9 Apr 2021

Thanks!

avatar brianteeman
brianteeman - comment - 9 Apr 2021

Thanks for testing and merging

avatar AndySDH
AndySDH - comment - 9 Apr 2021

Thanks for making this @brianteeman!

Add a Comment

Login with GitHub to post a comment