Talk:Steel bar

From Old School RuneScape Wiki
Jump to: navigation, search
This talk page is for discussing the Steel bar page.

Products table sorts incorrectly[edit source]

The Products table uses a string sort on the columns instead of a number sort, so if you order the products by the Skill requirements column ascending, products with a 5 construction requirement show up after items with a 49 construction requirement, because reading from left to right "5" comes after "4" even though 5 should be before 49. Likewise a level 7 requirement product shows up after level 69, and level 8 after level 79.

Fixing that sort would probably require fixing the "Uses material list" source format.

It also might be worth removing the smithing products from the Products table, as there is already a smithing only table directly above it. This would leave products with construction (+ sometimes cooking) requirements, or crafting requirements. Kamran (talk) 17:28, 24 May 2020 (UTC)

I went ahead and fixed the sorting issue by making the skills column sort value to a number instead of string. As for removing the steel items itself from the products list I'm not sure if that's overly needed. I'm up for discussion or something to remove them either from the products list or removing the table itself. Jakesterwars (talk) 18:09, 24 May 2020 (UTC)