Skip to content

Optimized bug listing items (mostly "buglist.cgi").#157

Open
MasterInQuestion wants to merge 3 commits into
bugzilla:5.2from
MasterInQuestion:patch-3
Open

Optimized bug listing items (mostly "buglist.cgi").#157
MasterInQuestion wants to merge 3 commits into
bugzilla:5.2from
MasterInQuestion:patch-3

Conversation

@MasterInQuestion

@MasterInQuestion MasterInQuestion commented Jan 1, 2024

Copy link
Copy Markdown

    Much deploying [ https://bugzilla.mozilla.org/show_bug.cgi?id=1572075#c3 ].

    Slightly refactored.
    "scalar" keyword here is ~~misuse~~ [ Exactly, just pointless. ].

    References:
    https://perldoc.perl.org/functions/scalar
    https://perldoc.perl.org/perlop#C-style-Logical-Or
    https://stackoverflow.com/questions/13846676

@MasterInQuestion MasterInQuestion deleted the patch-3 branch January 1, 2024 17:57
@MasterInQuestion MasterInQuestion restored the patch-3 branch January 1, 2024 17:58
Comment thread buglist.cgi
}
}

if (!scalar @order_columns) {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

    "misuse": Exactly, just pointless.

	Also merged [ https://github.com​/bugzilla/bugzilla/pull/155 ].
	And edition based on which.

	Also somewhat refactored the adjacent "if":
	Notations for complex data structure in Perl are poorly defined.
	"->" notoriously...

	See also:
	https://perldoc.perl.org/perlop#The-Arrow-Operator
	https://perldoc.perl.org/perlreftut#Use-Rule-2
	https://stackoverflow.com/questions/24106193#24109344
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants